﻿<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:Microsoft_Windows_Themes="clr-namespace:Microsoft.Windows.Themes;assembly=PresentationFramework.Aero"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
    <Style BasedOn="{x:Null}" TargetType="{x:Type Button}" x:Key="Button_Theme">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type Button}">
                    <ControlTemplate.Resources>
                        <Storyboard x:Key="over">
                            <ThicknessAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="title" Storyboard.TargetProperty="(FrameworkElement.Margin)">
                                <SplineThicknessKeyFrame KeyTime="00:00:00" Value="0"/>
                                <SplineThicknessKeyFrame KeySpline="0.5,0,0.5,1" KeyTime="00:00:00.5000000" Value="0,-60,0,0"/>
                                <SplineThicknessKeyFrame KeyTime="00:00:00.7000000" Value="0,-55,0,0"/>
                            </ThicknessAnimationUsingKeyFrames>
                            <ThicknessAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="titleOver" Storyboard.TargetProperty="(FrameworkElement.Margin)">
                                <SplineThicknessKeyFrame KeyTime="00:00:00" Value="0,0,0,-55"/>
                                <SplineThicknessKeyFrame KeyTime="00:00:00.5000000" Value="0,0,0,5" KeySpline="0.5,0,0.5,1"/>
                                <SplineThicknessKeyFrame KeyTime="00:00:00.7000000" Value="0"/>
                            </ThicknessAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Key="overBack">
                            <ThicknessAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="title" Storyboard.TargetProperty="(FrameworkElement.Margin)">
                                <SplineThicknessKeyFrame KeyTime="00:00:00" Value="0,-55,0,0"/>
                                <SplineThicknessKeyFrame KeySpline="0.5,0,0.5,1" KeyTime="00:00:00.5000000" Value="0,5,0,0"/>
                                <SplineThicknessKeyFrame KeyTime="00:00:00.7000000" Value="0"/>
                            </ThicknessAnimationUsingKeyFrames>
                            <ThicknessAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="titleOver" Storyboard.TargetProperty="(FrameworkElement.Margin)">
                                <SplineThicknessKeyFrame KeyTime="00:00:00" Value="0"/>
                                <SplineThicknessKeyFrame KeySpline="0.5,0,0.5,1" KeyTime="00:00:00.5000000" Value="0,0,0,-60"/>
                                <SplineThicknessKeyFrame KeyTime="00:00:00.7000000" Value="0,0,0,-55"/>
                            </ThicknessAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Key="press">
                            <ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="bgPress" Storyboard.TargetProperty="(UIElement.Visibility)">
                                <DiscreteObjectKeyFrame KeyTime="00:00:00" Value="{x:Static Visibility.Visible}"/>
                                <DiscreteObjectKeyFrame KeyTime="00:00:00.7000000" Value="{x:Static Visibility.Visible}"/>
                            </ObjectAnimationUsingKeyFrames>
                            <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="bgPress" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame KeyTime="00:00:00" Value="0"/>
                                <SplineDoubleKeyFrame KeyTime="00:00:00.4000000" Value="1"/>
                                <SplineDoubleKeyFrame KeyTime="00:00:00.7000000" Value="0"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Key="overline">
                            <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="bg" Storyboard.TargetProperty="(Shape.Stroke).(Brush.RelativeTransform).(TransformGroup.Children)[3].(TranslateTransform.X)">
                                <SplineDoubleKeyFrame KeyTime="00:00:00" Value="-1.061"/>
                                <SplineDoubleKeyFrame KeyTime="00:00:01.1000000" Value="1.024"/>
                                <SplineDoubleKeyFrame KeyTime="00:00:02.5000000" Value="1.024"/>
                            </DoubleAnimationUsingKeyFrames>
                            <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="bg" Storyboard.TargetProperty="(Shape.Stroke).(Brush.RelativeTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)">
                                <SplineDoubleKeyFrame KeyTime="00:00:00" Value="0"/>
                                <SplineDoubleKeyFrame KeyTime="00:00:01.1000000" Value="0.001"/>
                                <SplineDoubleKeyFrame KeyTime="00:00:02.5000000" Value="0.001"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                    </ControlTemplate.Resources>
                    <Grid x:Name="grid" ClipToBounds="True">
                        <Rectangle RadiusX="2" RadiusY="2" x:Name="bg" Fill="{TemplateBinding Background}">
                            <Rectangle.Stroke>
                                <LinearGradientBrush EndPoint="1.04,0.5" StartPoint="-0.01,0.5">
                                    <LinearGradientBrush.RelativeTransform>
                                        <TransformGroup>
                                            <ScaleTransform CenterX="0.5" CenterY="0.5"/>
                                            <SkewTransform CenterX="0.5" CenterY="0.5"/>
                                            <RotateTransform CenterX="0.5" CenterY="0.5"/>
                                            <TranslateTransform/>
                                        </TransformGroup>
                                    </LinearGradientBrush.RelativeTransform>
                                    <GradientStop Color="#FF595959" Offset="0"/>
                                    <GradientStop Color="White" Offset="0.7"/>
                                    <GradientStop Color="#FF303030" Offset="1"/>
                                </LinearGradientBrush>
                            </Rectangle.Stroke>
                        </Rectangle>
                        <Rectangle Stroke="{x:Null}" RadiusX="2" RadiusY="2" x:Name="bgBling" Margin="2,2,2,20">
                            <Rectangle.Fill>
                                <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                    <GradientStop Color="#00FFFFFF" Offset="1"/>
                                    <GradientStop Color="#B2FFFFFF" Offset="0"/>
                                </LinearGradientBrush>
                            </Rectangle.Fill>
                        </Rectangle>
                        <TextBlock x:Name="title" HorizontalAlignment="Center" VerticalAlignment="Center" TextWrapping="Wrap" Text="{TemplateBinding Content}"/>
                        <Rectangle RadiusX="8" RadiusY="8" x:Name="bgPress" StrokeThickness="2" Visibility="Hidden" RenderTransformOrigin="0.5,0.5" Fill="{x:Null}" >
                            <Rectangle.RenderTransform>
                                <TransformGroup>
                                    <ScaleTransform/>
                                    <SkewTransform/>
                                    <RotateTransform/>
                                    <TranslateTransform/>
                                </TransformGroup>
                            </Rectangle.RenderTransform>
                            <Rectangle.Stroke>
                                <LinearGradientBrush EndPoint="0.967,1.042" StartPoint="0.076,-0.042">
                                    <LinearGradientBrush.RelativeTransform>
                                        <TransformGroup>
                                            <ScaleTransform CenterX="0.5" CenterY="0.5"/>
                                            <SkewTransform CenterX="0.5" CenterY="0.5"/>
                                            <RotateTransform CenterX="0.5" CenterY="0.5"/>
                                            <TranslateTransform X="-0.458"/>
                                        </TransformGroup>
                                    </LinearGradientBrush.RelativeTransform>
                                    <GradientStop Offset="1" Color="White"/>
                                    <GradientStop Color="White"/>
                                </LinearGradientBrush>
                            </Rectangle.Stroke>
                        </Rectangle>
                        <TextBlock x:Name="titleOver" HorizontalAlignment="Center" VerticalAlignment="Center" TextWrapping="Wrap" Text="{TemplateBinding Content}" Margin="0,0,0,-60" FontWeight="Bold" FontSize="13.333"/>
                    </Grid>
                    <ControlTemplate.Triggers>
                        <Trigger Property="IsMouseOver" Value="True">
                            <Trigger.ExitActions>
                                <BeginStoryboard x:Name="overBack_BeginStoryboard" Storyboard="{StaticResource overBack}"/>
                                <StopStoryboard BeginStoryboardName="overline_BeginStoryboard"/>
                            </Trigger.ExitActions>
                            <Trigger.EnterActions>
                                <BeginStoryboard Storyboard="{StaticResource over}"/>
                                <BeginStoryboard x:Name="overline_BeginStoryboard" Storyboard="{StaticResource overline}"/>
                            </Trigger.EnterActions>
                        </Trigger>
                        <Trigger Property="IsPressed" Value="True">
                            <Trigger.EnterActions>
                                <BeginStoryboard x:Name="press_BeginStoryboard" Storyboard="{StaticResource press}"/>
                            </Trigger.EnterActions>
                            <Setter Property="Stroke" TargetName="bgPress">
                                <Setter.Value>
                                    <LinearGradientBrush EndPoint="0.967,1.042" StartPoint="0.076,-0.042">
                                        <LinearGradientBrush.RelativeTransform>
                                            <TransformGroup>
                                                <ScaleTransform CenterX="0.5" CenterY="0.5"/>
                                                <SkewTransform CenterX="0.5" CenterY="0.5"/>
                                                <RotateTransform CenterX="0.5" CenterY="0.5"/>
                                                <TranslateTransform X="-0.458"/>
                                            </TransformGroup>
                                        </LinearGradientBrush.RelativeTransform>
                                        <GradientStop Offset="0"/>
                                        <GradientStop Offset="1"/>
                                    </LinearGradientBrush>
                                </Setter.Value>
                            </Setter>
                        </Trigger>
                        <Trigger Property="IsEnabled" Value="False">
                            <Setter Property="Control.Opacity" Value="0.5">
                            </Setter>
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
        <Setter Property="Background">
            <Setter.Value>
                <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0" MappingMode="RelativeToBoundingBox">
                    <GradientStop Color="#FFF0F0F0" Offset="0.149"/>
                    <GradientStop Color="#FF9F9F9F" Offset="1"/>
                    <GradientStop Color="#FFA8A8A8" Offset="0"/>
                    <GradientStop Color="White" Offset="0.335"/>
                </LinearGradientBrush>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="ComboBox_Theme" TargetType="{x:Type ComboBox}">
        <Setter Property="Foreground" Value="Black"/>
        <Setter Property="BorderThickness" Value="1"/>
        <Setter Property="ScrollViewer.HorizontalScrollBarVisibility" Value="Auto"/>
        <Setter Property="ScrollViewer.VerticalScrollBarVisibility" Value="Auto"/>
        <Setter Property="Padding" Value="4,3"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type ComboBox}">
                    <Grid x:Name="MainGrid" SnapsToDevicePixels="true">
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="*"/>
                            <ColumnDefinition MinWidth="{DynamicResource {x:Static SystemParameters.VerticalScrollBarWidthKey}}" Width="0"/>
                        </Grid.ColumnDefinitions>
                        <Popup Margin="1" x:Name="PART_Popup" AllowsTransparency="true" IsOpen="{Binding IsDropDownOpen, RelativeSource={RelativeSource TemplatedParent}}" Placement="Bottom" PopupAnimation="{DynamicResource {x:Static SystemParameters.ComboBoxPopupAnimationKey}}" Grid.ColumnSpan="2">
                            <Microsoft_Windows_Themes:SystemDropShadowChrome MaxHeight="{TemplateBinding MaxDropDownHeight}" MinWidth="{Binding ActualWidth, ElementName=MainGrid}" x:Name="Shdw" Color="Transparent">
                                <Border x:Name="DropDownBorder" BorderBrush="#FFFFFFFF" BorderThickness="1">
                                    <Border.Background>
                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                            <GradientStop Color="Black" Offset="0"/>
                                            <GradientStop Color="Black" Offset="1"/>
                                        </LinearGradientBrush>
                                    </Border.Background>
                                    <ScrollViewer CanContentScroll="true" Foreground="#FFFFFFFF">
                                        <ItemsPresenter SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" KeyboardNavigation.DirectionalNavigation="Contained"/>
                                    </ScrollViewer>
                                </Border>
                            </Microsoft_Windows_Themes:SystemDropShadowChrome>
                        </Popup>
                        <ToggleButton Background="{TemplateBinding Background}" BorderBrush="#FFFFFFFF" Grid.ColumnSpan="2" IsChecked="{Binding IsDropDownOpen, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}"/>
                        <ContentPresenter IsHitTestVisible="false" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" Content="{TemplateBinding SelectionBoxItem}" ContentTemplate="{TemplateBinding SelectionBoxItemTemplate}" ContentTemplateSelector="{TemplateBinding ItemTemplateSelector}" HorizontalAlignment="Left" VerticalAlignment="Center" Margin="5,0"/>
                    </Grid>
                    <ControlTemplate.Triggers>
                        <Trigger Property="HasDropShadow" SourceName="PART_Popup" Value="true">
                            <Setter Property="Margin" TargetName="Shdw" Value="0,0,5,5"/>
                            <Setter Property="Color" TargetName="Shdw" Value="#71000000"/>
                        </Trigger>
                        <Trigger Property="HasItems" Value="false">
                            <Setter Property="Height" TargetName="DropDownBorder" Value="95"/>
                        </Trigger>
                        <Trigger Property="IsEnabled" Value="false">
                            <Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.GrayTextBrushKey}}"/>
                            <Setter Property="Background" Value="#FFF4F4F4"/>
                        </Trigger>
                        <Trigger Property="IsGrouping" Value="true">
                            <Setter Property="ScrollViewer.CanContentScroll" Value="false"/>
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
        <Style.Triggers>
            <Trigger Property="Selector.IsSelected" Value="True">
                <Setter Property="Foreground" Value="White"/>
            </Trigger>
            <Trigger Property="IsEditable" Value="true">
                <Setter Property="Background" Value="{DynamicResource {x:Static SystemColors.WindowBrushKey}}"/>
                <Setter Property="IsTabStop" Value="false"/>
                <Setter Property="Padding" Value="3"/>
            </Trigger>
        </Style.Triggers>
    </Style>
    <Style TargetType="{x:Type ToggleButton}">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type ToggleButton}">
                    <ControlTemplate.Resources>
                        <Storyboard x:Key="ComboRollover" RepeatBehavior="20x">
                            <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="rectangle" Storyboard.TargetProperty="(Shape.Stroke).(Brush.RelativeTransform).(TransformGroup.Children)[3].(TranslateTransform.X)">
                                <SplineDoubleKeyFrame KeyTime="00:00:00" Value="-1.032"/>
                                <SplineDoubleKeyFrame KeyTime="00:00:01" Value="1.034"/>
                                <SplineDoubleKeyFrame KeyTime="00:00:01.5000000" Value="1.034"/>
                            </DoubleAnimationUsingKeyFrames>
                            <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="rectangle" Storyboard.TargetProperty="(Shape.Stroke).(Brush.RelativeTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)">
                                <SplineDoubleKeyFrame KeyTime="00:00:00" Value="0"/>
                                <SplineDoubleKeyFrame KeyTime="00:00:01" Value="0"/>
                                <SplineDoubleKeyFrame KeyTime="00:00:01.5000000" Value="0"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                    </ControlTemplate.Resources>
                    <Grid>
                        <Rectangle x:Name="rectangle" StrokeThickness="1.5" RadiusX="3" RadiusY="3" Margin="0" VerticalAlignment="Stretch" Height="Auto" Fill="{TemplateBinding Background}">
                            <Rectangle.Stroke>
                                <LinearGradientBrush EndPoint="0.991,0.5" StartPoint="0.035,0.5">
                                    <LinearGradientBrush.RelativeTransform>
                                        <TransformGroup>
                                            <ScaleTransform CenterX="0.5" CenterY="0.5"/>
                                            <SkewTransform CenterX="0.5" CenterY="0.5"/>
                                            <RotateTransform CenterX="0.5" CenterY="0.5"/>
                                            <TranslateTransform/>
                                        </TransformGroup>
                                    </LinearGradientBrush.RelativeTransform>
                                    <GradientStop Offset="0.004" Color="#FF9A9A9A"/>
                                    <GradientStop Offset="1" Color="#FF9A9A9A"/>
                                    <GradientStop Color="White" Offset="0.474"/>
                                </LinearGradientBrush>
                            </Rectangle.Stroke>
                        </Rectangle>
                        <Grid HorizontalAlignment="Right" Margin="0,2" Width="{DynamicResource {x:Static SystemParameters.VerticalScrollBarWidthKey}}">
                            <Path Fill="#FFFFFFFF" HorizontalAlignment="Center" Margin="0" x:Name="Arrow" VerticalAlignment="Center" Data="M 0 0 L 3.5 4 L 7 0 Z"/>
                        </Grid>
                    </Grid>
                    <ControlTemplate.Triggers>
                        <Trigger Property="IsChecked" Value="true">
                            <Trigger.ExitActions>
                                <StopStoryboard BeginStoryboardName="ComboRollover_BeginStoryboard"/>
                            </Trigger.ExitActions>
                            <Trigger.EnterActions>
                                <BeginStoryboard x:Name="ComboRollover_BeginStoryboard" Storyboard="{StaticResource ComboRollover}"/>
                            </Trigger.EnterActions>
                            <Setter Property="Fill" TargetName="rectangle">
                                <Setter.Value>
                                    <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                        <GradientStop Color="#FFA1A1A1" Offset="0"/>
                                        <GradientStop Color="#FF0C0E2A" Offset="0.29"/>
                                        <GradientStop Color="#FF747474" Offset="0.284"/>
                                    </LinearGradientBrush>
                                </Setter.Value>
                            </Setter>
                        </Trigger>
                        <Trigger Property="IsEnabled" Value="false"/>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="TextBox_Theme" TargetType="{x:Type TextBox}">
        <Setter Property="AllowDrop" Value="true"/>
        <Setter Property="FocusVisualStyle" Value="{x:Null}"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type TextBox}">
                    <ControlTemplate.Resources>
                        <Storyboard x:Key="Storyboard1" RepeatBehavior="Forever">
                            <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="border" Storyboard.TargetProperty="(Border.BorderBrush).(Brush.RelativeTransform).(TransformGroup.Children)[3].(TranslateTransform.X)">
                                <SplineDoubleKeyFrame KeyTime="00:00:00" Value="-1.051"/>
                                <SplineDoubleKeyFrame KeyTime="00:00:01.5000000" Value="1.036"/>
                                <SplineDoubleKeyFrame KeyTime="00:00:03" Value="1.036"/>
                            </DoubleAnimationUsingKeyFrames>
                            <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="border" Storyboard.TargetProperty="(Border.BorderBrush).(Brush.RelativeTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)">
                                <SplineDoubleKeyFrame KeyTime="00:00:00" Value="-0.001"/>
                                <SplineDoubleKeyFrame KeyTime="00:00:01.5000000" Value="0"/>
                                <SplineDoubleKeyFrame KeyTime="00:00:03" Value="0"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                    </ControlTemplate.Resources>
                    <Border x:Name="border" Width="Auto" Height="Auto" CornerRadius="0,0,0,0" BorderThickness="1,1,1,1">
                        <Border.Background>
                            <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                <GradientStop Color="#FF000000" Offset="0"/>
                                <GradientStop Color="#FF2C2C2C" Offset="0.111"/>
                                <GradientStop Color="#FF2A2A2A" Offset="1"/>
                            </LinearGradientBrush>
                        </Border.Background>
                        <Border.BorderBrush>
                            <LinearGradientBrush EndPoint="1.04,0.5" StartPoint="-0.01,0.5">
                                <LinearGradientBrush.RelativeTransform>
                                    <TransformGroup>
                                        <ScaleTransform CenterX="0.5" CenterY="0.5"/>
                                        <SkewTransform CenterX="0.5" CenterY="0.5"/>
                                        <RotateTransform CenterX="0.5" CenterY="0.5"/>
                                        <TranslateTransform/>
                                    </TransformGroup>
                                </LinearGradientBrush.RelativeTransform>
                                <GradientStop Color="#FF595959" Offset="0"/>
                                <GradientStop Color="White" Offset="0.7"/>
                                <GradientStop Color="#FF303030" Offset="1"/>
                            </LinearGradientBrush>
                        </Border.BorderBrush>
                        <Grid x:Name="grid" Background="{x:Null}">
                            <ScrollViewer x:Name="PART_ContentHost" 
                                          SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" Foreground="#FFFFFFFF" 
                                          Margin="5,0,5,0" VerticalAlignment="Center"/>
                        </Grid>
                    </Border>
                    <ControlTemplate.Triggers>
                        <Trigger Property="IsEnabled" Value="False">
                            <Setter Property="Foreground" TargetName="PART_ContentHost" Value="#FF5B5B5B"/>
                        </Trigger>
                        <Trigger Property="IsFocused" Value="True">
                            <Trigger.ExitActions>
                                <StopStoryboard BeginStoryboardName="Storyboard1_BeginStoryboard"/>
                            </Trigger.ExitActions>
                            <Trigger.EnterActions>
                                <BeginStoryboard x:Name="Storyboard1_BeginStoryboard" Storyboard="{StaticResource Storyboard1}"/>
                            </Trigger.EnterActions>
                            <Setter Property="Background" TargetName="grid">
                                <Setter.Value>
                                    <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                        <GradientStop Color="#FF3F3F3F" Offset="0"/>
                                        <GradientStop Color="Black" Offset="0.111"/>
                                        <GradientStop Color="Black" Offset="1"/>
                                    </LinearGradientBrush>
                                </Setter.Value>
                            </Setter>
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="TabItem_Theme" TargetType="{x:Type TabItem}">
        <Setter Property="Foreground" Value="White"/>
        <Setter Property="Padding" Value="6,1,6,1"/>
        <Setter Property="HorizontalContentAlignment" Value="Stretch"/>
        <Setter Property="VerticalContentAlignment" Value="Stretch"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type TabItem}">
                    <Grid SnapsToDevicePixels="true">
                        <Border x:Name="Bd" BorderThickness="1,1,1,0" CornerRadius="0,10,0,0" Margin="0,0,-5,0" Padding="10,2">
                            <Border.BorderBrush>
                                <LinearGradientBrush EndPoint="0.92,0.518" StartPoint="0.045,0.518">
                                    <GradientStop Color="#FF747474" Offset="0"/>
                                    <GradientStop Color="White" Offset="0.533"/>
                                    <GradientStop Color="#FFB3B3B3" Offset="1"/>
                                </LinearGradientBrush>
                            </Border.BorderBrush>
                            <Border.Background>
                                <LinearGradientBrush EndPoint="0,1" StartPoint="0,0">
                                    <GradientStop Color="#FF939393" Offset="0"/>
                                    <GradientStop Color="#FF5E5E5E" Offset="0.276"/>
                                    <GradientStop Color="#FF2A2A2A" Offset="0.28"/>
                                    <GradientStop Color="#FF2A2A2A" Offset="1"/>
                                </LinearGradientBrush>
                            </Border.Background>
                            <ContentPresenter x:Name="Content" HorizontalAlignment="{Binding HorizontalContentAlignment, RelativeSource={RelativeSource AncestorType={x:Type ItemsControl}}}" VerticalAlignment="{Binding VerticalContentAlignment, RelativeSource={RelativeSource AncestorType={x:Type ItemsControl}}}" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" ContentSource="Header" RecognizesAccessKey="True"/>
                        </Border>
                    </Grid>
                    <ControlTemplate.Triggers>
                        <Trigger Property="IsMouseOver" Value="true">
                            <Setter Property="BorderBrush" TargetName="Bd" Value="White"/>
                            <Setter Property="Background" TargetName="Bd">
                                <Setter.Value>
                                    <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                        <GradientStop Color="Black" Offset="0"/>
                                        <GradientStop Color="#FF848484" Offset="0.111"/>
                                        <GradientStop Color="#FFC5C5C5" Offset="1"/>
                                    </LinearGradientBrush>
                                </Setter.Value>
                            </Setter>
                        </Trigger>
                        <Trigger Property="IsSelected" Value="true">
                            <Setter Property="Panel.ZIndex" Value="1"/>
                            <Setter Property="Background" TargetName="Bd">
                                <Setter.Value>
                                    <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                        <GradientStop Color="#FFCECECE" Offset="0"/>
                                        <GradientStop Color="White" Offset="1"/>
                                    </LinearGradientBrush>
                                </Setter.Value>
                            </Setter>
                        </Trigger>
                        <Trigger Property="TabStripPlacement" Value="Bottom">
                            <Setter Property="BorderThickness" TargetName="Bd" Value="1,0,1,1"/>
                        </Trigger>
                        <Trigger Property="TabStripPlacement" Value="Left">
                            <Setter Property="BorderThickness" TargetName="Bd" Value="1,1,0,1"/>
                        </Trigger>
                        <Trigger Property="TabStripPlacement" Value="Right">
                            <Setter Property="BorderThickness" TargetName="Bd" Value="0,1,1,1"/>
                        </Trigger>
                        <MultiTrigger>
                            <MultiTrigger.Conditions>
                                <Condition Property="IsSelected" Value="true"/>
                                <Condition Property="TabStripPlacement" Value="Top"/>
                            </MultiTrigger.Conditions>
                            <Setter Property="Margin" Value="-2,-2,-2,-1"/>
                            <Setter Property="Margin" TargetName="Content" Value="0,0,0,1"/>
                        </MultiTrigger>
                        <MultiTrigger>
                            <MultiTrigger.Conditions>
                                <Condition Property="IsSelected" Value="true"/>
                                <Condition Property="TabStripPlacement" Value="Bottom"/>
                            </MultiTrigger.Conditions>
                            <Setter Property="Margin" Value="-2,-1,-2,-2"/>
                            <Setter Property="Margin" TargetName="Content" Value="0,1,0,0"/>
                        </MultiTrigger>
                        <MultiTrigger>
                            <MultiTrigger.Conditions>
                                <Condition Property="IsSelected" Value="true"/>
                                <Condition Property="TabStripPlacement" Value="Left"/>
                            </MultiTrigger.Conditions>
                            <Setter Property="Margin" Value="-2,-2,-1,-2"/>
                            <Setter Property="Margin" TargetName="Content" Value="0,0,1,0"/>
                        </MultiTrigger>
                        <MultiTrigger>
                            <MultiTrigger.Conditions>
                                <Condition Property="IsSelected" Value="true"/>
                                <Condition Property="TabStripPlacement" Value="Right"/>
                            </MultiTrigger.Conditions>
                            <Setter Property="Margin" Value="-1,-2,-2,-2"/>
                            <Setter Property="Margin" TargetName="Content" Value="1,0,0,0"/>
                        </MultiTrigger>
                        <Trigger Property="IsEnabled" Value="false">
                            <Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.GrayTextBrushKey}}"/>
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
        <Style.Triggers>
            <Trigger Property="Selector.IsSelected" Value="False">
                <Setter Property="Foreground" Value="White"/>
            </Trigger>
            <Trigger Property="Selector.IsSelected" Value="True">
                <Setter Property="Foreground" Value="Black"/>
            </Trigger>
        </Style.Triggers>
    </Style>
    <Style x:Key="TabControl_Theme" TargetType="{x:Type TabControl}">
        <Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.ControlTextBrushKey}}"/>
        <Setter Property="Padding" Value="4,4,4,4"/>
        <Setter Property="BorderThickness" Value="1"/>
        <Setter Property="Background" Value="#F9F9F9"/>
        <Setter Property="HorizontalContentAlignment" Value="Center"/>
        <Setter Property="VerticalContentAlignment" Value="Center"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type TabControl}">
                    <Grid ClipToBounds="true" SnapsToDevicePixels="true" KeyboardNavigation.TabNavigation="Local">
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition x:Name="ColumnDefinition0"/>
                            <ColumnDefinition x:Name="ColumnDefinition1" Width="0"/>
                        </Grid.ColumnDefinitions>
                        <Grid.RowDefinitions>
                            <RowDefinition x:Name="RowDefinition0" Height="Auto"/>
                            <RowDefinition x:Name="RowDefinition1" Height="*"/>
                        </Grid.RowDefinitions>
                        <TabPanel x:Name="HeaderPanel" Margin="2,2,2,0" IsItemsHost="true" Panel.ZIndex="1" Grid.Column="0" Grid.Row="0" KeyboardNavigation.TabIndex="1"/>
                        <Border x:Name="ContentPanel" Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Grid.Column="0" Grid.Row="1" KeyboardNavigation.DirectionalNavigation="Contained" KeyboardNavigation.TabIndex="2" KeyboardNavigation.TabNavigation="Local">
                            <Grid>
                                <Rectangle Stroke="{x:Null}" HorizontalAlignment="Stretch" VerticalAlignment="Top" Width="Auto" Height="40" Opacity="0.35">
                                    <Rectangle.Fill>
                                        <DrawingBrush Stretch="UniformToFill" TileMode="Tile" Viewbox="0,0,165,42" ViewboxUnits="Absolute">
                                            <DrawingBrush.RelativeTransform>
                                                <TransformGroup>
                                                    <ScaleTransform CenterX="0.5" CenterY="0.5" ScaleX="0.505" ScaleY="1"/>
                                                    <SkewTransform AngleX="0" AngleY="0" CenterX="0.5" CenterY="0.5"/>
                                                    <RotateTransform Angle="0" CenterX="0.5" CenterY="0.5"/>
                                                    <TranslateTransform X="-0.247"/>
                                                </TransformGroup>
                                            </DrawingBrush.RelativeTransform>
                                            <DrawingBrush.Drawing>
                                                <DrawingGroup>
                                                    <DrawingGroup>
                                                        <DrawingGroup.Transform>
                                                            <MatrixTransform Matrix="1,0,-0.267949192431123,1,5.62693304105358,0"/>
                                                        </DrawingGroup.Transform>
                                                        <GeometryDrawing>
                                                            <GeometryDrawing.Geometry>
                                                                <PathGeometry Figures="M421.667,59 L421.667,100">
                                                                    <PathGeometry.Transform>
                                                                        <MatrixTransform Matrix="1,0,0,1,-421.1669921875,-58.5"/>
                                                                    </PathGeometry.Transform>
                                                                </PathGeometry>
                                                            </GeometryDrawing.Geometry>
                                                            <GeometryDrawing.Pen>
                                                                <Pen DashCap="Flat" EndLineCap="Flat" LineJoin="Miter" MiterLimit="10" StartLineCap="Flat" Thickness="1">
                                                                    <Pen.Brush>
                                                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                            <GradientStop Color="White" Offset="0"/>
                                                                            <GradientStop Offset="1"/>
                                                                        </LinearGradientBrush>
                                                                    </Pen.Brush>
                                                                </Pen>
                                                            </GeometryDrawing.Pen>
                                                        </GeometryDrawing>
                                                    </DrawingGroup>
                                                    <DrawingGroup>
                                                        <DrawingGroup.Transform>
                                                            <MatrixTransform Matrix="1,0,-0.267949192431123,1,9.62693304105358,0"/>
                                                        </DrawingGroup.Transform>
                                                        <GeometryDrawing Geometry="M0.50000781,0.5L0.50000781,41.5">
                                                            <GeometryDrawing.Pen>
                                                                <Pen DashCap="Flat" EndLineCap="Flat" LineJoin="Miter" MiterLimit="10" StartLineCap="Flat" Thickness="1">
                                                                    <Pen.Brush>
                                                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                            <GradientStop Color="White" Offset="0"/>
                                                                            <GradientStop Offset="1"/>
                                                                        </LinearGradientBrush>
                                                                    </Pen.Brush>
                                                                </Pen>
                                                            </GeometryDrawing.Pen>
                                                        </GeometryDrawing>
                                                    </DrawingGroup>
                                                    <DrawingGroup>
                                                        <DrawingGroup.Transform>
                                                            <MatrixTransform Matrix="1,0,-0.267949192431123,1,13.6269330410536,0"/>
                                                        </DrawingGroup.Transform>
                                                        <GeometryDrawing Geometry="M0.50000781,0.5L0.50000781,41.5">
                                                            <GeometryDrawing.Pen>
                                                                <Pen DashCap="Flat" EndLineCap="Flat" LineJoin="Miter" MiterLimit="10" StartLineCap="Flat" Thickness="1">
                                                                    <Pen.Brush>
                                                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                            <GradientStop Color="White" Offset="0"/>
                                                                            <GradientStop Offset="1"/>
                                                                        </LinearGradientBrush>
                                                                    </Pen.Brush>
                                                                </Pen>
                                                            </GeometryDrawing.Pen>
                                                        </GeometryDrawing>
                                                    </DrawingGroup>
                                                    <DrawingGroup>
                                                        <DrawingGroup.Transform>
                                                            <MatrixTransform Matrix="1,0,-0.267949192431123,1,17.6269330410536,0"/>
                                                        </DrawingGroup.Transform>
                                                        <GeometryDrawing Geometry="M0.50000781,0.5L0.50000781,41.5">
                                                            <GeometryDrawing.Pen>
                                                                <Pen DashCap="Flat" EndLineCap="Flat" LineJoin="Miter" MiterLimit="10" StartLineCap="Flat" Thickness="1">
                                                                    <Pen.Brush>
                                                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                            <GradientStop Color="White" Offset="0"/>
                                                                            <GradientStop Offset="1"/>
                                                                        </LinearGradientBrush>
                                                                    </Pen.Brush>
                                                                </Pen>
                                                            </GeometryDrawing.Pen>
                                                        </GeometryDrawing>
                                                    </DrawingGroup>
                                                    <DrawingGroup>
                                                        <DrawingGroup.Transform>
                                                            <MatrixTransform Matrix="1,0,-0.267949192431123,1,21.6269330410536,0"/>
                                                        </DrawingGroup.Transform>
                                                        <GeometryDrawing Geometry="M0.50000781,0.5L0.50000781,41.5">
                                                            <GeometryDrawing.Pen>
                                                                <Pen DashCap="Flat" EndLineCap="Flat" LineJoin="Miter" MiterLimit="10" StartLineCap="Flat" Thickness="1">
                                                                    <Pen.Brush>
                                                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                            <GradientStop Color="White" Offset="0"/>
                                                                            <GradientStop Offset="1"/>
                                                                        </LinearGradientBrush>
                                                                    </Pen.Brush>
                                                                </Pen>
                                                            </GeometryDrawing.Pen>
                                                        </GeometryDrawing>
                                                    </DrawingGroup>
                                                    <DrawingGroup>
                                                        <DrawingGroup.Transform>
                                                            <MatrixTransform Matrix="1,0,-0.267949192431123,1,25.6269330410536,0"/>
                                                        </DrawingGroup.Transform>
                                                        <GeometryDrawing Geometry="M0.50000781,0.5L0.50000781,41.5">
                                                            <GeometryDrawing.Pen>
                                                                <Pen DashCap="Flat" EndLineCap="Flat" LineJoin="Miter" MiterLimit="10" StartLineCap="Flat" Thickness="1">
                                                                    <Pen.Brush>
                                                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                            <GradientStop Color="White" Offset="0"/>
                                                                            <GradientStop Offset="1"/>
                                                                        </LinearGradientBrush>
                                                                    </Pen.Brush>
                                                                </Pen>
                                                            </GeometryDrawing.Pen>
                                                        </GeometryDrawing>
                                                    </DrawingGroup>
                                                    <DrawingGroup>
                                                        <DrawingGroup.Transform>
                                                            <MatrixTransform Matrix="1,0,-0.267949192431123,1,29.6269330410536,0"/>
                                                        </DrawingGroup.Transform>
                                                        <GeometryDrawing Geometry="M0.50000781,0.5L0.50000781,41.5">
                                                            <GeometryDrawing.Pen>
                                                                <Pen DashCap="Flat" EndLineCap="Flat" LineJoin="Miter" MiterLimit="10" StartLineCap="Flat" Thickness="1">
                                                                    <Pen.Brush>
                                                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                            <GradientStop Color="White" Offset="0"/>
                                                                            <GradientStop Offset="1"/>
                                                                        </LinearGradientBrush>
                                                                    </Pen.Brush>
                                                                </Pen>
                                                            </GeometryDrawing.Pen>
                                                        </GeometryDrawing>
                                                    </DrawingGroup>
                                                    <DrawingGroup>
                                                        <DrawingGroup.Transform>
                                                            <MatrixTransform Matrix="1,0,-0.267949192431123,1,33.6269330410536,0"/>
                                                        </DrawingGroup.Transform>
                                                        <GeometryDrawing Geometry="M0.50000781,0.5L0.50000781,41.5">
                                                            <GeometryDrawing.Pen>
                                                                <Pen DashCap="Flat" EndLineCap="Flat" LineJoin="Miter" MiterLimit="10" StartLineCap="Flat" Thickness="1">
                                                                    <Pen.Brush>
                                                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                            <GradientStop Color="White" Offset="0"/>
                                                                            <GradientStop Offset="1"/>
                                                                        </LinearGradientBrush>
                                                                    </Pen.Brush>
                                                                </Pen>
                                                            </GeometryDrawing.Pen>
                                                        </GeometryDrawing>
                                                    </DrawingGroup>
                                                    <DrawingGroup>
                                                        <DrawingGroup.Transform>
                                                            <MatrixTransform Matrix="1,0,-0.267949192431123,1,37.6269330410536,0"/>
                                                        </DrawingGroup.Transform>
                                                        <GeometryDrawing Geometry="M0.50000781,0.5L0.50000781,41.5">
                                                            <GeometryDrawing.Pen>
                                                                <Pen DashCap="Flat" EndLineCap="Flat" LineJoin="Miter" MiterLimit="10" StartLineCap="Flat" Thickness="1">
                                                                    <Pen.Brush>
                                                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                            <GradientStop Color="White" Offset="0"/>
                                                                            <GradientStop Offset="1"/>
                                                                        </LinearGradientBrush>
                                                                    </Pen.Brush>
                                                                </Pen>
                                                            </GeometryDrawing.Pen>
                                                        </GeometryDrawing>
                                                    </DrawingGroup>
                                                    <DrawingGroup>
                                                        <DrawingGroup.Transform>
                                                            <MatrixTransform Matrix="1,0,-0.267949192431123,1,41.6269330410536,0"/>
                                                        </DrawingGroup.Transform>
                                                        <GeometryDrawing Geometry="M0.50000781,0.5L0.50000781,41.5">
                                                            <GeometryDrawing.Pen>
                                                                <Pen DashCap="Flat" EndLineCap="Flat" LineJoin="Miter" MiterLimit="10" StartLineCap="Flat" Thickness="1">
                                                                    <Pen.Brush>
                                                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                            <GradientStop Color="White" Offset="0"/>
                                                                            <GradientStop Offset="1"/>
                                                                        </LinearGradientBrush>
                                                                    </Pen.Brush>
                                                                </Pen>
                                                            </GeometryDrawing.Pen>
                                                        </GeometryDrawing>
                                                    </DrawingGroup>
                                                    <DrawingGroup>
                                                        <DrawingGroup.Transform>
                                                            <MatrixTransform Matrix="1,0,-0.267949192431123,1,45.6269330410536,0"/>
                                                        </DrawingGroup.Transform>
                                                        <GeometryDrawing Geometry="M0.50000781,0.5L0.50000781,41.5">
                                                            <GeometryDrawing.Pen>
                                                                <Pen DashCap="Flat" EndLineCap="Flat" LineJoin="Miter" MiterLimit="10" StartLineCap="Flat" Thickness="1">
                                                                    <Pen.Brush>
                                                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                            <GradientStop Color="White" Offset="0"/>
                                                                            <GradientStop Offset="1"/>
                                                                        </LinearGradientBrush>
                                                                    </Pen.Brush>
                                                                </Pen>
                                                            </GeometryDrawing.Pen>
                                                        </GeometryDrawing>
                                                    </DrawingGroup>
                                                    <DrawingGroup>
                                                        <DrawingGroup.Transform>
                                                            <MatrixTransform Matrix="1,0,-0.267949192431123,1,49.6269330410536,0"/>
                                                        </DrawingGroup.Transform>
                                                        <GeometryDrawing Geometry="M0.50000781,0.5L0.50000781,41.5">
                                                            <GeometryDrawing.Pen>
                                                                <Pen DashCap="Flat" EndLineCap="Flat" LineJoin="Miter" MiterLimit="10" StartLineCap="Flat" Thickness="1">
                                                                    <Pen.Brush>
                                                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                            <GradientStop Color="White" Offset="0"/>
                                                                            <GradientStop Offset="1"/>
                                                                        </LinearGradientBrush>
                                                                    </Pen.Brush>
                                                                </Pen>
                                                            </GeometryDrawing.Pen>
                                                        </GeometryDrawing>
                                                    </DrawingGroup>
                                                    <DrawingGroup>
                                                        <DrawingGroup.Transform>
                                                            <MatrixTransform Matrix="1,0,-0.267949192431123,1,53.6269330410536,0"/>
                                                        </DrawingGroup.Transform>
                                                        <GeometryDrawing Geometry="M0.50000781,0.5L0.50000781,41.5">
                                                            <GeometryDrawing.Pen>
                                                                <Pen DashCap="Flat" EndLineCap="Flat" LineJoin="Miter" MiterLimit="10" StartLineCap="Flat" Thickness="1">
                                                                    <Pen.Brush>
                                                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                            <GradientStop Color="White" Offset="0"/>
                                                                            <GradientStop Offset="1"/>
                                                                        </LinearGradientBrush>
                                                                    </Pen.Brush>
                                                                </Pen>
                                                            </GeometryDrawing.Pen>
                                                        </GeometryDrawing>
                                                    </DrawingGroup>
                                                    <DrawingGroup>
                                                        <DrawingGroup.Transform>
                                                            <MatrixTransform Matrix="1,0,-0.267949192431123,1,57.6269330410536,0"/>
                                                        </DrawingGroup.Transform>
                                                        <GeometryDrawing Geometry="M0.50000781,0.5L0.50000781,41.5">
                                                            <GeometryDrawing.Pen>
                                                                <Pen DashCap="Flat" EndLineCap="Flat" LineJoin="Miter" MiterLimit="10" StartLineCap="Flat" Thickness="1">
                                                                    <Pen.Brush>
                                                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                            <GradientStop Color="White" Offset="0"/>
                                                                            <GradientStop Offset="1"/>
                                                                        </LinearGradientBrush>
                                                                    </Pen.Brush>
                                                                </Pen>
                                                            </GeometryDrawing.Pen>
                                                        </GeometryDrawing>
                                                    </DrawingGroup>
                                                    <DrawingGroup>
                                                        <DrawingGroup.Transform>
                                                            <MatrixTransform Matrix="1,0,-0.267949192431123,1,61.6269330410536,0"/>
                                                        </DrawingGroup.Transform>
                                                        <GeometryDrawing Geometry="M0.50000781,0.5L0.50000781,41.5">
                                                            <GeometryDrawing.Pen>
                                                                <Pen DashCap="Flat" EndLineCap="Flat" LineJoin="Miter" MiterLimit="10" StartLineCap="Flat" Thickness="1">
                                                                    <Pen.Brush>
                                                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                            <GradientStop Color="White" Offset="0"/>
                                                                            <GradientStop Offset="1"/>
                                                                        </LinearGradientBrush>
                                                                    </Pen.Brush>
                                                                </Pen>
                                                            </GeometryDrawing.Pen>
                                                        </GeometryDrawing>
                                                    </DrawingGroup>
                                                    <DrawingGroup>
                                                        <DrawingGroup.Transform>
                                                            <MatrixTransform Matrix="1,0,-0.267949192431123,1,65.6269330410536,0"/>
                                                        </DrawingGroup.Transform>
                                                        <GeometryDrawing Geometry="M0.50000781,0.5L0.50000781,41.5">
                                                            <GeometryDrawing.Pen>
                                                                <Pen DashCap="Flat" EndLineCap="Flat" LineJoin="Miter" MiterLimit="10" StartLineCap="Flat" Thickness="1">
                                                                    <Pen.Brush>
                                                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                            <GradientStop Color="White" Offset="0"/>
                                                                            <GradientStop Offset="1"/>
                                                                        </LinearGradientBrush>
                                                                    </Pen.Brush>
                                                                </Pen>
                                                            </GeometryDrawing.Pen>
                                                        </GeometryDrawing>
                                                    </DrawingGroup>
                                                    <DrawingGroup>
                                                        <DrawingGroup.Transform>
                                                            <MatrixTransform Matrix="1,0,-0.267949192431123,1,69.6269330410536,0"/>
                                                        </DrawingGroup.Transform>
                                                        <GeometryDrawing Geometry="M0.50000781,0.5L0.50000781,41.5">
                                                            <GeometryDrawing.Pen>
                                                                <Pen DashCap="Flat" EndLineCap="Flat" LineJoin="Miter" MiterLimit="10" StartLineCap="Flat" Thickness="1">
                                                                    <Pen.Brush>
                                                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                            <GradientStop Color="White" Offset="0"/>
                                                                            <GradientStop Offset="1"/>
                                                                        </LinearGradientBrush>
                                                                    </Pen.Brush>
                                                                </Pen>
                                                            </GeometryDrawing.Pen>
                                                        </GeometryDrawing>
                                                    </DrawingGroup>
                                                    <DrawingGroup>
                                                        <DrawingGroup.Transform>
                                                            <MatrixTransform Matrix="1,0,-0.267949192431123,1,73.6269330410536,0"/>
                                                        </DrawingGroup.Transform>
                                                        <GeometryDrawing Geometry="M0.50000781,0.5L0.50000781,41.5">
                                                            <GeometryDrawing.Pen>
                                                                <Pen DashCap="Flat" EndLineCap="Flat" LineJoin="Miter" MiterLimit="10" StartLineCap="Flat" Thickness="1">
                                                                    <Pen.Brush>
                                                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                            <GradientStop Color="White" Offset="0"/>
                                                                            <GradientStop Offset="1"/>
                                                                        </LinearGradientBrush>
                                                                    </Pen.Brush>
                                                                </Pen>
                                                            </GeometryDrawing.Pen>
                                                        </GeometryDrawing>
                                                    </DrawingGroup>
                                                    <DrawingGroup>
                                                        <DrawingGroup.Transform>
                                                            <MatrixTransform Matrix="1,0,-0.267949192431123,1,77.6269330410536,0"/>
                                                        </DrawingGroup.Transform>
                                                        <GeometryDrawing Geometry="M0.50000781,0.5L0.50000781,41.5">
                                                            <GeometryDrawing.Pen>
                                                                <Pen DashCap="Flat" EndLineCap="Flat" LineJoin="Miter" MiterLimit="10" StartLineCap="Flat" Thickness="1">
                                                                    <Pen.Brush>
                                                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                            <GradientStop Color="White" Offset="0"/>
                                                                            <GradientStop Offset="1"/>
                                                                        </LinearGradientBrush>
                                                                    </Pen.Brush>
                                                                </Pen>
                                                            </GeometryDrawing.Pen>
                                                        </GeometryDrawing>
                                                    </DrawingGroup>
                                                    <DrawingGroup>
                                                        <DrawingGroup.Transform>
                                                            <MatrixTransform Matrix="1,0,-0.267949192431123,1,81.6269330410536,0"/>
                                                        </DrawingGroup.Transform>
                                                        <GeometryDrawing Geometry="M0.50000781,0.5L0.50000781,41.5">
                                                            <GeometryDrawing.Pen>
                                                                <Pen DashCap="Flat" EndLineCap="Flat" LineJoin="Miter" MiterLimit="10" StartLineCap="Flat" Thickness="1">
                                                                    <Pen.Brush>
                                                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                            <GradientStop Color="White" Offset="0"/>
                                                                            <GradientStop Offset="1"/>
                                                                        </LinearGradientBrush>
                                                                    </Pen.Brush>
                                                                </Pen>
                                                            </GeometryDrawing.Pen>
                                                        </GeometryDrawing>
                                                    </DrawingGroup>
                                                    <DrawingGroup>
                                                        <DrawingGroup.Transform>
                                                            <MatrixTransform Matrix="1,0,-0.267949192431123,1,85.6269330410536,0"/>
                                                        </DrawingGroup.Transform>
                                                        <GeometryDrawing Geometry="M0.50000781,0.5L0.50000781,41.5">
                                                            <GeometryDrawing.Pen>
                                                                <Pen DashCap="Flat" EndLineCap="Flat" LineJoin="Miter" MiterLimit="10" StartLineCap="Flat" Thickness="1">
                                                                    <Pen.Brush>
                                                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                            <GradientStop Color="White" Offset="0"/>
                                                                            <GradientStop Offset="1"/>
                                                                        </LinearGradientBrush>
                                                                    </Pen.Brush>
                                                                </Pen>
                                                            </GeometryDrawing.Pen>
                                                        </GeometryDrawing>
                                                    </DrawingGroup>
                                                    <DrawingGroup>
                                                        <DrawingGroup.Transform>
                                                            <MatrixTransform Matrix="1,0,-0.267949192431123,1,89.6269330410536,0"/>
                                                        </DrawingGroup.Transform>
                                                        <GeometryDrawing Geometry="M0.50000781,0.5L0.50000781,41.5">
                                                            <GeometryDrawing.Pen>
                                                                <Pen DashCap="Flat" EndLineCap="Flat" LineJoin="Miter" MiterLimit="10" StartLineCap="Flat" Thickness="1">
                                                                    <Pen.Brush>
                                                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                            <GradientStop Color="White" Offset="0"/>
                                                                            <GradientStop Offset="1"/>
                                                                        </LinearGradientBrush>
                                                                    </Pen.Brush>
                                                                </Pen>
                                                            </GeometryDrawing.Pen>
                                                        </GeometryDrawing>
                                                    </DrawingGroup>
                                                    <DrawingGroup>
                                                        <DrawingGroup.Transform>
                                                            <MatrixTransform Matrix="1,0,-0.267949192431123,1,93.6269330410536,0"/>
                                                        </DrawingGroup.Transform>
                                                        <GeometryDrawing Geometry="M0.50000781,0.5L0.50000781,41.5">
                                                            <GeometryDrawing.Pen>
                                                                <Pen DashCap="Flat" EndLineCap="Flat" LineJoin="Miter" MiterLimit="10" StartLineCap="Flat" Thickness="1">
                                                                    <Pen.Brush>
                                                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                            <GradientStop Color="White" Offset="0"/>
                                                                            <GradientStop Offset="1"/>
                                                                        </LinearGradientBrush>
                                                                    </Pen.Brush>
                                                                </Pen>
                                                            </GeometryDrawing.Pen>
                                                        </GeometryDrawing>
                                                    </DrawingGroup>
                                                    <DrawingGroup>
                                                        <DrawingGroup.Transform>
                                                            <MatrixTransform Matrix="1,0,-0.267949192431123,1,97.6269330410536,0"/>
                                                        </DrawingGroup.Transform>
                                                        <GeometryDrawing Geometry="M0.50000781,0.5L0.50000781,41.5">
                                                            <GeometryDrawing.Pen>
                                                                <Pen DashCap="Flat" EndLineCap="Flat" LineJoin="Miter" MiterLimit="10" StartLineCap="Flat" Thickness="1">
                                                                    <Pen.Brush>
                                                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                            <GradientStop Color="White" Offset="0"/>
                                                                            <GradientStop Offset="1"/>
                                                                        </LinearGradientBrush>
                                                                    </Pen.Brush>
                                                                </Pen>
                                                            </GeometryDrawing.Pen>
                                                        </GeometryDrawing>
                                                    </DrawingGroup>
                                                    <DrawingGroup>
                                                        <DrawingGroup.Transform>
                                                            <MatrixTransform Matrix="1,0,-0.267949192431123,1,101.626933041054,0"/>
                                                        </DrawingGroup.Transform>
                                                        <GeometryDrawing Geometry="M0.50000781,0.5L0.50000781,41.5">
                                                            <GeometryDrawing.Pen>
                                                                <Pen DashCap="Flat" EndLineCap="Flat" LineJoin="Miter" MiterLimit="10" StartLineCap="Flat" Thickness="1">
                                                                    <Pen.Brush>
                                                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                            <GradientStop Color="White" Offset="0"/>
                                                                            <GradientStop Offset="1"/>
                                                                        </LinearGradientBrush>
                                                                    </Pen.Brush>
                                                                </Pen>
                                                            </GeometryDrawing.Pen>
                                                        </GeometryDrawing>
                                                    </DrawingGroup>
                                                    <DrawingGroup>
                                                        <DrawingGroup.Transform>
                                                            <MatrixTransform Matrix="1,0,-0.267949192431123,1,105.626933041054,0"/>
                                                        </DrawingGroup.Transform>
                                                        <GeometryDrawing Geometry="M0.50000781,0.5L0.50000781,41.5">
                                                            <GeometryDrawing.Pen>
                                                                <Pen DashCap="Flat" EndLineCap="Flat" LineJoin="Miter" MiterLimit="10" StartLineCap="Flat" Thickness="1">
                                                                    <Pen.Brush>
                                                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                            <GradientStop Color="White" Offset="0"/>
                                                                            <GradientStop Offset="1"/>
                                                                        </LinearGradientBrush>
                                                                    </Pen.Brush>
                                                                </Pen>
                                                            </GeometryDrawing.Pen>
                                                        </GeometryDrawing>
                                                    </DrawingGroup>
                                                    <DrawingGroup>
                                                        <DrawingGroup.Transform>
                                                            <MatrixTransform Matrix="1,0,-0.267949192431123,1,109.626933041054,0"/>
                                                        </DrawingGroup.Transform>
                                                        <GeometryDrawing Geometry="M0.50000781,0.5L0.50000781,41.5">
                                                            <GeometryDrawing.Pen>
                                                                <Pen DashCap="Flat" EndLineCap="Flat" LineJoin="Miter" MiterLimit="10" StartLineCap="Flat" Thickness="1">
                                                                    <Pen.Brush>
                                                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                            <GradientStop Color="White" Offset="0"/>
                                                                            <GradientStop Offset="1"/>
                                                                        </LinearGradientBrush>
                                                                    </Pen.Brush>
                                                                </Pen>
                                                            </GeometryDrawing.Pen>
                                                        </GeometryDrawing>
                                                    </DrawingGroup>
                                                    <DrawingGroup>
                                                        <DrawingGroup.Transform>
                                                            <MatrixTransform Matrix="1,0,-0.267949192431123,1,113.626933041054,0"/>
                                                        </DrawingGroup.Transform>
                                                        <GeometryDrawing Geometry="M0.50000781,0.5L0.50000781,41.5">
                                                            <GeometryDrawing.Pen>
                                                                <Pen DashCap="Flat" EndLineCap="Flat" LineJoin="Miter" MiterLimit="10" StartLineCap="Flat" Thickness="1">
                                                                    <Pen.Brush>
                                                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                            <GradientStop Color="White" Offset="0"/>
                                                                            <GradientStop Offset="1"/>
                                                                        </LinearGradientBrush>
                                                                    </Pen.Brush>
                                                                </Pen>
                                                            </GeometryDrawing.Pen>
                                                        </GeometryDrawing>
                                                    </DrawingGroup>
                                                    <DrawingGroup>
                                                        <DrawingGroup.Transform>
                                                            <MatrixTransform Matrix="1,0,-0.267949192431123,1,117.626933041054,0"/>
                                                        </DrawingGroup.Transform>
                                                        <GeometryDrawing Geometry="M0.50000781,0.5L0.50000781,41.5">
                                                            <GeometryDrawing.Pen>
                                                                <Pen DashCap="Flat" EndLineCap="Flat" LineJoin="Miter" MiterLimit="10" StartLineCap="Flat" Thickness="1">
                                                                    <Pen.Brush>
                                                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                            <GradientStop Color="White" Offset="0"/>
                                                                            <GradientStop Offset="1"/>
                                                                        </LinearGradientBrush>
                                                                    </Pen.Brush>
                                                                </Pen>
                                                            </GeometryDrawing.Pen>
                                                        </GeometryDrawing>
                                                    </DrawingGroup>
                                                    <DrawingGroup>
                                                        <DrawingGroup.Transform>
                                                            <MatrixTransform Matrix="1,0,-0.267949192431123,1,121.626933041054,0"/>
                                                        </DrawingGroup.Transform>
                                                        <GeometryDrawing Geometry="M0.50000781,0.5L0.50000781,41.5">
                                                            <GeometryDrawing.Pen>
                                                                <Pen DashCap="Flat" EndLineCap="Flat" LineJoin="Miter" MiterLimit="10" StartLineCap="Flat" Thickness="1">
                                                                    <Pen.Brush>
                                                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                            <GradientStop Color="White" Offset="0"/>
                                                                            <GradientStop Offset="1"/>
                                                                        </LinearGradientBrush>
                                                                    </Pen.Brush>
                                                                </Pen>
                                                            </GeometryDrawing.Pen>
                                                        </GeometryDrawing>
                                                    </DrawingGroup>
                                                    <DrawingGroup>
                                                        <DrawingGroup.Transform>
                                                            <MatrixTransform Matrix="1,0,-0.267949192431123,1,125.626933041054,0"/>
                                                        </DrawingGroup.Transform>
                                                        <GeometryDrawing Geometry="M0.50000781,0.5L0.50000781,41.5">
                                                            <GeometryDrawing.Pen>
                                                                <Pen DashCap="Flat" EndLineCap="Flat" LineJoin="Miter" MiterLimit="10" StartLineCap="Flat" Thickness="1">
                                                                    <Pen.Brush>
                                                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                            <GradientStop Color="White" Offset="0"/>
                                                                            <GradientStop Offset="1"/>
                                                                        </LinearGradientBrush>
                                                                    </Pen.Brush>
                                                                </Pen>
                                                            </GeometryDrawing.Pen>
                                                        </GeometryDrawing>
                                                    </DrawingGroup>
                                                    <DrawingGroup>
                                                        <DrawingGroup.Transform>
                                                            <MatrixTransform Matrix="1,0,-0.267949192431123,1,129.626933041054,0"/>
                                                        </DrawingGroup.Transform>
                                                        <GeometryDrawing Geometry="M0.50000781,0.5L0.50000781,41.5">
                                                            <GeometryDrawing.Pen>
                                                                <Pen DashCap="Flat" EndLineCap="Flat" LineJoin="Miter" MiterLimit="10" StartLineCap="Flat" Thickness="1">
                                                                    <Pen.Brush>
                                                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                            <GradientStop Color="White" Offset="0"/>
                                                                            <GradientStop Offset="1"/>
                                                                        </LinearGradientBrush>
                                                                    </Pen.Brush>
                                                                </Pen>
                                                            </GeometryDrawing.Pen>
                                                        </GeometryDrawing>
                                                    </DrawingGroup>
                                                    <DrawingGroup>
                                                        <DrawingGroup.Transform>
                                                            <MatrixTransform Matrix="1,0,-0.267949192431123,1,133.626933041054,0"/>
                                                        </DrawingGroup.Transform>
                                                        <GeometryDrawing Geometry="M0.50000781,0.5L0.50000781,41.5">
                                                            <GeometryDrawing.Pen>
                                                                <Pen DashCap="Flat" EndLineCap="Flat" LineJoin="Miter" MiterLimit="10" StartLineCap="Flat" Thickness="1">
                                                                    <Pen.Brush>
                                                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                            <GradientStop Color="White" Offset="0"/>
                                                                            <GradientStop Offset="1"/>
                                                                        </LinearGradientBrush>
                                                                    </Pen.Brush>
                                                                </Pen>
                                                            </GeometryDrawing.Pen>
                                                        </GeometryDrawing>
                                                    </DrawingGroup>
                                                    <DrawingGroup>
                                                        <DrawingGroup.Transform>
                                                            <MatrixTransform Matrix="1,0,-0.267949192431123,1,137.626933041054,0"/>
                                                        </DrawingGroup.Transform>
                                                        <GeometryDrawing Geometry="M0.50000781,0.5L0.50000781,41.5">
                                                            <GeometryDrawing.Pen>
                                                                <Pen DashCap="Flat" EndLineCap="Flat" LineJoin="Miter" MiterLimit="10" StartLineCap="Flat" Thickness="1">
                                                                    <Pen.Brush>
                                                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                            <GradientStop Color="White" Offset="0"/>
                                                                            <GradientStop Offset="1"/>
                                                                        </LinearGradientBrush>
                                                                    </Pen.Brush>
                                                                </Pen>
                                                            </GeometryDrawing.Pen>
                                                        </GeometryDrawing>
                                                    </DrawingGroup>
                                                    <DrawingGroup>
                                                        <DrawingGroup.Transform>
                                                            <MatrixTransform Matrix="1,0,-0.267949192431123,1,141.626933041054,0"/>
                                                        </DrawingGroup.Transform>
                                                        <GeometryDrawing Geometry="M0.50000781,0.5L0.50000781,41.5">
                                                            <GeometryDrawing.Pen>
                                                                <Pen DashCap="Flat" EndLineCap="Flat" LineJoin="Miter" MiterLimit="10" StartLineCap="Flat" Thickness="1">
                                                                    <Pen.Brush>
                                                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                            <GradientStop Color="White" Offset="0"/>
                                                                            <GradientStop Offset="1"/>
                                                                        </LinearGradientBrush>
                                                                    </Pen.Brush>
                                                                </Pen>
                                                            </GeometryDrawing.Pen>
                                                        </GeometryDrawing>
                                                    </DrawingGroup>
                                                    <DrawingGroup>
                                                        <DrawingGroup.Transform>
                                                            <MatrixTransform Matrix="1,0,-0.267949192431123,1,145.626933041054,0"/>
                                                        </DrawingGroup.Transform>
                                                        <GeometryDrawing Geometry="M0.50000781,0.5L0.50000781,41.5">
                                                            <GeometryDrawing.Pen>
                                                                <Pen DashCap="Flat" EndLineCap="Flat" LineJoin="Miter" MiterLimit="10" StartLineCap="Flat" Thickness="1">
                                                                    <Pen.Brush>
                                                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                            <GradientStop Color="White" Offset="0"/>
                                                                            <GradientStop Offset="1"/>
                                                                        </LinearGradientBrush>
                                                                    </Pen.Brush>
                                                                </Pen>
                                                            </GeometryDrawing.Pen>
                                                        </GeometryDrawing>
                                                    </DrawingGroup>
                                                    <DrawingGroup>
                                                        <DrawingGroup.Transform>
                                                            <MatrixTransform Matrix="1,0,-0.267949192431123,1,149.626933041054,0"/>
                                                        </DrawingGroup.Transform>
                                                        <GeometryDrawing Geometry="M0.50000781,0.5L0.50000781,41.5">
                                                            <GeometryDrawing.Pen>
                                                                <Pen DashCap="Flat" EndLineCap="Flat" LineJoin="Miter" MiterLimit="10" StartLineCap="Flat" Thickness="1">
                                                                    <Pen.Brush>
                                                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                            <GradientStop Color="White" Offset="0"/>
                                                                            <GradientStop Offset="1"/>
                                                                        </LinearGradientBrush>
                                                                    </Pen.Brush>
                                                                </Pen>
                                                            </GeometryDrawing.Pen>
                                                        </GeometryDrawing>
                                                    </DrawingGroup>
                                                    <DrawingGroup>
                                                        <DrawingGroup.Transform>
                                                            <MatrixTransform Matrix="1,0,-0.267949192431123,1,153.626933041054,0"/>
                                                        </DrawingGroup.Transform>
                                                        <GeometryDrawing Geometry="M0.50000781,0.5L0.50000781,41.5">
                                                            <GeometryDrawing.Pen>
                                                                <Pen DashCap="Flat" EndLineCap="Flat" LineJoin="Miter" MiterLimit="10" StartLineCap="Flat" Thickness="1">
                                                                    <Pen.Brush>
                                                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                            <GradientStop Color="White" Offset="0"/>
                                                                            <GradientStop Offset="1"/>
                                                                        </LinearGradientBrush>
                                                                    </Pen.Brush>
                                                                </Pen>
                                                            </GeometryDrawing.Pen>
                                                        </GeometryDrawing>
                                                    </DrawingGroup>
                                                    <DrawingGroup>
                                                        <DrawingGroup.Transform>
                                                            <MatrixTransform Matrix="1,0,-0.267949192431123,1,157.626933041054,0"/>
                                                        </DrawingGroup.Transform>
                                                        <GeometryDrawing Geometry="M0.50000781,0.5L0.50000781,41.5">
                                                            <GeometryDrawing.Pen>
                                                                <Pen DashCap="Flat" EndLineCap="Flat" LineJoin="Miter" MiterLimit="10" StartLineCap="Flat" Thickness="1">
                                                                    <Pen.Brush>
                                                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                            <GradientStop Color="White" Offset="0"/>
                                                                            <GradientStop Offset="1"/>
                                                                        </LinearGradientBrush>
                                                                    </Pen.Brush>
                                                                </Pen>
                                                            </GeometryDrawing.Pen>
                                                        </GeometryDrawing>
                                                    </DrawingGroup>
                                                    <DrawingGroup>
                                                        <DrawingGroup.Transform>
                                                            <MatrixTransform Matrix="1,0,-0.267949192431123,1,161.626933041054,0"/>
                                                        </DrawingGroup.Transform>
                                                        <GeometryDrawing Geometry="M0.50000781,0.5L0.50000781,41.5">
                                                            <GeometryDrawing.Pen>
                                                                <Pen DashCap="Flat" EndLineCap="Flat" LineJoin="Miter" MiterLimit="10" StartLineCap="Flat" Thickness="1">
                                                                    <Pen.Brush>
                                                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                            <GradientStop Color="White" Offset="0"/>
                                                                            <GradientStop Offset="1"/>
                                                                        </LinearGradientBrush>
                                                                    </Pen.Brush>
                                                                </Pen>
                                                            </GeometryDrawing.Pen>
                                                        </GeometryDrawing>
                                                    </DrawingGroup>
                                                    <DrawingGroup>
                                                        <DrawingGroup.Transform>
                                                            <MatrixTransform Matrix="1,0,-0.267949192431123,1,165.626933041054,0"/>
                                                        </DrawingGroup.Transform>
                                                        <GeometryDrawing Geometry="M0.50000781,0.5L0.50000781,41.5">
                                                            <GeometryDrawing.Pen>
                                                                <Pen DashCap="Flat" EndLineCap="Flat" LineJoin="Miter" MiterLimit="10" StartLineCap="Flat" Thickness="1">
                                                                    <Pen.Brush>
                                                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                            <GradientStop Color="White" Offset="0"/>
                                                                            <GradientStop Offset="1"/>
                                                                        </LinearGradientBrush>
                                                                    </Pen.Brush>
                                                                </Pen>
                                                            </GeometryDrawing.Pen>
                                                        </GeometryDrawing>
                                                    </DrawingGroup>
                                                    <DrawingGroup>
                                                        <DrawingGroup.Transform>
                                                            <MatrixTransform Matrix="1,0,-0.267949192431123,1,169.626933041054,0"/>
                                                        </DrawingGroup.Transform>
                                                        <GeometryDrawing Geometry="M0.50000781,0.5L0.50000781,41.5">
                                                            <GeometryDrawing.Pen>
                                                                <Pen DashCap="Flat" EndLineCap="Flat" LineJoin="Miter" MiterLimit="10" StartLineCap="Flat" Thickness="1">
                                                                    <Pen.Brush>
                                                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                            <GradientStop Color="White" Offset="0"/>
                                                                            <GradientStop Offset="1"/>
                                                                        </LinearGradientBrush>
                                                                    </Pen.Brush>
                                                                </Pen>
                                                            </GeometryDrawing.Pen>
                                                        </GeometryDrawing>
                                                    </DrawingGroup>
                                                </DrawingGroup>
                                            </DrawingBrush.Drawing>
                                        </DrawingBrush>
                                    </Rectangle.Fill>
                                </Rectangle>
                                <Rectangle Stroke="{x:Null}" HorizontalAlignment="Stretch" VerticalAlignment="Bottom" Width="Auto" Height="40" Opacity="0.3" RenderTransformOrigin="0.5,0.5">
                                    <Rectangle.Fill>
                                        <DrawingBrush Stretch="UniformToFill" TileMode="Tile" Viewbox="0,0,165,42" ViewboxUnits="Absolute">
                                            <DrawingBrush.Drawing>
                                                <DrawingGroup>
                                                    <DrawingGroup>
                                                        <DrawingGroup.Transform>
                                                            <MatrixTransform Matrix="1,0,-0.267949192431123,1,5.62693304105358,0"/>
                                                        </DrawingGroup.Transform>
                                                        <GeometryDrawing>
                                                            <GeometryDrawing.Pen>
                                                                <Pen DashCap="Flat" EndLineCap="Flat" LineJoin="Miter" MiterLimit="10" StartLineCap="Flat" Thickness="1">
                                                                    <Pen.Brush>
                                                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                            <GradientStop Color="White" Offset="0"/>
                                                                            <GradientStop Offset="1"/>
                                                                        </LinearGradientBrush>
                                                                    </Pen.Brush>
                                                                </Pen>
                                                            </GeometryDrawing.Pen>
                                                            <GeometryDrawing.Geometry>
                                                                <PathGeometry Figures="M421.667,59 L421.667,100">
                                                                    <PathGeometry.Transform>
                                                                        <MatrixTransform Matrix="1,0,0,1,-421.1669921875,-58.5"/>
                                                                    </PathGeometry.Transform>
                                                                </PathGeometry>
                                                            </GeometryDrawing.Geometry>
                                                        </GeometryDrawing>
                                                    </DrawingGroup>
                                                    <DrawingGroup>
                                                        <DrawingGroup.Transform>
                                                            <MatrixTransform Matrix="1,0,-0.267949192431123,1,9.62693304105358,0"/>
                                                        </DrawingGroup.Transform>
                                                        <GeometryDrawing Geometry="M0.50000781,0.5L0.50000781,41.5">
                                                            <GeometryDrawing.Pen>
                                                                <Pen DashCap="Flat" EndLineCap="Flat" LineJoin="Miter" MiterLimit="10" StartLineCap="Flat" Thickness="1">
                                                                    <Pen.Brush>
                                                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                            <GradientStop Color="White" Offset="0"/>
                                                                            <GradientStop Offset="1"/>
                                                                        </LinearGradientBrush>
                                                                    </Pen.Brush>
                                                                </Pen>
                                                            </GeometryDrawing.Pen>
                                                        </GeometryDrawing>
                                                    </DrawingGroup>
                                                    <DrawingGroup>
                                                        <DrawingGroup.Transform>
                                                            <MatrixTransform Matrix="1,0,-0.267949192431123,1,13.6269330410536,0"/>
                                                        </DrawingGroup.Transform>
                                                        <GeometryDrawing Geometry="M0.50000781,0.5L0.50000781,41.5">
                                                            <GeometryDrawing.Pen>
                                                                <Pen DashCap="Flat" EndLineCap="Flat" LineJoin="Miter" MiterLimit="10" StartLineCap="Flat" Thickness="1">
                                                                    <Pen.Brush>
                                                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                            <GradientStop Color="White" Offset="0"/>
                                                                            <GradientStop Offset="1"/>
                                                                        </LinearGradientBrush>
                                                                    </Pen.Brush>
                                                                </Pen>
                                                            </GeometryDrawing.Pen>
                                                        </GeometryDrawing>
                                                    </DrawingGroup>
                                                    <DrawingGroup>
                                                        <DrawingGroup.Transform>
                                                            <MatrixTransform Matrix="1,0,-0.267949192431123,1,17.6269330410536,0"/>
                                                        </DrawingGroup.Transform>
                                                        <GeometryDrawing Geometry="M0.50000781,0.5L0.50000781,41.5">
                                                            <GeometryDrawing.Pen>
                                                                <Pen DashCap="Flat" EndLineCap="Flat" LineJoin="Miter" MiterLimit="10" StartLineCap="Flat" Thickness="1">
                                                                    <Pen.Brush>
                                                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                            <GradientStop Color="White" Offset="0"/>
                                                                            <GradientStop Offset="1"/>
                                                                        </LinearGradientBrush>
                                                                    </Pen.Brush>
                                                                </Pen>
                                                            </GeometryDrawing.Pen>
                                                        </GeometryDrawing>
                                                    </DrawingGroup>
                                                    <DrawingGroup>
                                                        <DrawingGroup.Transform>
                                                            <MatrixTransform Matrix="1,0,-0.267949192431123,1,21.6269330410536,0"/>
                                                        </DrawingGroup.Transform>
                                                        <GeometryDrawing Geometry="M0.50000781,0.5L0.50000781,41.5">
                                                            <GeometryDrawing.Pen>
                                                                <Pen DashCap="Flat" EndLineCap="Flat" LineJoin="Miter" MiterLimit="10" StartLineCap="Flat" Thickness="1">
                                                                    <Pen.Brush>
                                                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                            <GradientStop Color="White" Offset="0"/>
                                                                            <GradientStop Offset="1"/>
                                                                        </LinearGradientBrush>
                                                                    </Pen.Brush>
                                                                </Pen>
                                                            </GeometryDrawing.Pen>
                                                        </GeometryDrawing>
                                                    </DrawingGroup>
                                                    <DrawingGroup>
                                                        <DrawingGroup.Transform>
                                                            <MatrixTransform Matrix="1,0,-0.267949192431123,1,25.6269330410536,0"/>
                                                        </DrawingGroup.Transform>
                                                        <GeometryDrawing Geometry="M0.50000781,0.5L0.50000781,41.5">
                                                            <GeometryDrawing.Pen>
                                                                <Pen DashCap="Flat" EndLineCap="Flat" LineJoin="Miter" MiterLimit="10" StartLineCap="Flat" Thickness="1">
                                                                    <Pen.Brush>
                                                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                            <GradientStop Color="White" Offset="0"/>
                                                                            <GradientStop Offset="1"/>
                                                                        </LinearGradientBrush>
                                                                    </Pen.Brush>
                                                                </Pen>
                                                            </GeometryDrawing.Pen>
                                                        </GeometryDrawing>
                                                    </DrawingGroup>
                                                    <DrawingGroup>
                                                        <DrawingGroup.Transform>
                                                            <MatrixTransform Matrix="1,0,-0.267949192431123,1,29.6269330410536,0"/>
                                                        </DrawingGroup.Transform>
                                                        <GeometryDrawing Geometry="M0.50000781,0.5L0.50000781,41.5">
                                                            <GeometryDrawing.Pen>
                                                                <Pen DashCap="Flat" EndLineCap="Flat" LineJoin="Miter" MiterLimit="10" StartLineCap="Flat" Thickness="1">
                                                                    <Pen.Brush>
                                                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                            <GradientStop Color="White" Offset="0"/>
                                                                            <GradientStop Offset="1"/>
                                                                        </LinearGradientBrush>
                                                                    </Pen.Brush>
                                                                </Pen>
                                                            </GeometryDrawing.Pen>
                                                        </GeometryDrawing>
                                                    </DrawingGroup>
                                                    <DrawingGroup>
                                                        <DrawingGroup.Transform>
                                                            <MatrixTransform Matrix="1,0,-0.267949192431123,1,33.6269330410536,0"/>
                                                        </DrawingGroup.Transform>
                                                        <GeometryDrawing Geometry="M0.50000781,0.5L0.50000781,41.5">
                                                            <GeometryDrawing.Pen>
                                                                <Pen DashCap="Flat" EndLineCap="Flat" LineJoin="Miter" MiterLimit="10" StartLineCap="Flat" Thickness="1">
                                                                    <Pen.Brush>
                                                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                            <GradientStop Color="White" Offset="0"/>
                                                                            <GradientStop Offset="1"/>
                                                                        </LinearGradientBrush>
                                                                    </Pen.Brush>
                                                                </Pen>
                                                            </GeometryDrawing.Pen>
                                                        </GeometryDrawing>
                                                    </DrawingGroup>
                                                    <DrawingGroup>
                                                        <DrawingGroup.Transform>
                                                            <MatrixTransform Matrix="1,0,-0.267949192431123,1,37.6269330410536,0"/>
                                                        </DrawingGroup.Transform>
                                                        <GeometryDrawing Geometry="M0.50000781,0.5L0.50000781,41.5">
                                                            <GeometryDrawing.Pen>
                                                                <Pen DashCap="Flat" EndLineCap="Flat" LineJoin="Miter" MiterLimit="10" StartLineCap="Flat" Thickness="1">
                                                                    <Pen.Brush>
                                                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                            <GradientStop Color="White" Offset="0"/>
                                                                            <GradientStop Offset="1"/>
                                                                        </LinearGradientBrush>
                                                                    </Pen.Brush>
                                                                </Pen>
                                                            </GeometryDrawing.Pen>
                                                        </GeometryDrawing>
                                                    </DrawingGroup>
                                                    <DrawingGroup>
                                                        <DrawingGroup.Transform>
                                                            <MatrixTransform Matrix="1,0,-0.267949192431123,1,41.6269330410536,0"/>
                                                        </DrawingGroup.Transform>
                                                        <GeometryDrawing Geometry="M0.50000781,0.5L0.50000781,41.5">
                                                            <GeometryDrawing.Pen>
                                                                <Pen DashCap="Flat" EndLineCap="Flat" LineJoin="Miter" MiterLimit="10" StartLineCap="Flat" Thickness="1">
                                                                    <Pen.Brush>
                                                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                            <GradientStop Color="White" Offset="0"/>
                                                                            <GradientStop Offset="1"/>
                                                                        </LinearGradientBrush>
                                                                    </Pen.Brush>
                                                                </Pen>
                                                            </GeometryDrawing.Pen>
                                                        </GeometryDrawing>
                                                    </DrawingGroup>
                                                    <DrawingGroup>
                                                        <DrawingGroup.Transform>
                                                            <MatrixTransform Matrix="1,0,-0.267949192431123,1,45.6269330410536,0"/>
                                                        </DrawingGroup.Transform>
                                                        <GeometryDrawing Geometry="M0.50000781,0.5L0.50000781,41.5">
                                                            <GeometryDrawing.Pen>
                                                                <Pen DashCap="Flat" EndLineCap="Flat" LineJoin="Miter" MiterLimit="10" StartLineCap="Flat" Thickness="1">
                                                                    <Pen.Brush>
                                                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                            <GradientStop Color="White" Offset="0"/>
                                                                            <GradientStop Offset="1"/>
                                                                        </LinearGradientBrush>
                                                                    </Pen.Brush>
                                                                </Pen>
                                                            </GeometryDrawing.Pen>
                                                        </GeometryDrawing>
                                                    </DrawingGroup>
                                                    <DrawingGroup>
                                                        <DrawingGroup.Transform>
                                                            <MatrixTransform Matrix="1,0,-0.267949192431123,1,49.6269330410536,0"/>
                                                        </DrawingGroup.Transform>
                                                        <GeometryDrawing Geometry="M0.50000781,0.5L0.50000781,41.5">
                                                            <GeometryDrawing.Pen>
                                                                <Pen DashCap="Flat" EndLineCap="Flat" LineJoin="Miter" MiterLimit="10" StartLineCap="Flat" Thickness="1">
                                                                    <Pen.Brush>
                                                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                            <GradientStop Color="White" Offset="0"/>
                                                                            <GradientStop Offset="1"/>
                                                                        </LinearGradientBrush>
                                                                    </Pen.Brush>
                                                                </Pen>
                                                            </GeometryDrawing.Pen>
                                                        </GeometryDrawing>
                                                    </DrawingGroup>
                                                    <DrawingGroup>
                                                        <DrawingGroup.Transform>
                                                            <MatrixTransform Matrix="1,0,-0.267949192431123,1,53.6269330410536,0"/>
                                                        </DrawingGroup.Transform>
                                                        <GeometryDrawing Geometry="M0.50000781,0.5L0.50000781,41.5">
                                                            <GeometryDrawing.Pen>
                                                                <Pen DashCap="Flat" EndLineCap="Flat" LineJoin="Miter" MiterLimit="10" StartLineCap="Flat" Thickness="1">
                                                                    <Pen.Brush>
                                                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                            <GradientStop Color="White" Offset="0"/>
                                                                            <GradientStop Offset="1"/>
                                                                        </LinearGradientBrush>
                                                                    </Pen.Brush>
                                                                </Pen>
                                                            </GeometryDrawing.Pen>
                                                        </GeometryDrawing>
                                                    </DrawingGroup>
                                                    <DrawingGroup>
                                                        <DrawingGroup.Transform>
                                                            <MatrixTransform Matrix="1,0,-0.267949192431123,1,57.6269330410536,0"/>
                                                        </DrawingGroup.Transform>
                                                        <GeometryDrawing Geometry="M0.50000781,0.5L0.50000781,41.5">
                                                            <GeometryDrawing.Pen>
                                                                <Pen DashCap="Flat" EndLineCap="Flat" LineJoin="Miter" MiterLimit="10" StartLineCap="Flat" Thickness="1">
                                                                    <Pen.Brush>
                                                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                            <GradientStop Color="White" Offset="0"/>
                                                                            <GradientStop Offset="1"/>
                                                                        </LinearGradientBrush>
                                                                    </Pen.Brush>
                                                                </Pen>
                                                            </GeometryDrawing.Pen>
                                                        </GeometryDrawing>
                                                    </DrawingGroup>
                                                    <DrawingGroup>
                                                        <DrawingGroup.Transform>
                                                            <MatrixTransform Matrix="1,0,-0.267949192431123,1,61.6269330410536,0"/>
                                                        </DrawingGroup.Transform>
                                                        <GeometryDrawing Geometry="M0.50000781,0.5L0.50000781,41.5">
                                                            <GeometryDrawing.Pen>
                                                                <Pen DashCap="Flat" EndLineCap="Flat" LineJoin="Miter" MiterLimit="10" StartLineCap="Flat" Thickness="1">
                                                                    <Pen.Brush>
                                                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                            <GradientStop Color="White" Offset="0"/>
                                                                            <GradientStop Offset="1"/>
                                                                        </LinearGradientBrush>
                                                                    </Pen.Brush>
                                                                </Pen>
                                                            </GeometryDrawing.Pen>
                                                        </GeometryDrawing>
                                                    </DrawingGroup>
                                                    <DrawingGroup>
                                                        <DrawingGroup.Transform>
                                                            <MatrixTransform Matrix="1,0,-0.267949192431123,1,65.6269330410536,0"/>
                                                        </DrawingGroup.Transform>
                                                        <GeometryDrawing Geometry="M0.50000781,0.5L0.50000781,41.5">
                                                            <GeometryDrawing.Pen>
                                                                <Pen DashCap="Flat" EndLineCap="Flat" LineJoin="Miter" MiterLimit="10" StartLineCap="Flat" Thickness="1">
                                                                    <Pen.Brush>
                                                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                            <GradientStop Color="White" Offset="0"/>
                                                                            <GradientStop Offset="1"/>
                                                                        </LinearGradientBrush>
                                                                    </Pen.Brush>
                                                                </Pen>
                                                            </GeometryDrawing.Pen>
                                                        </GeometryDrawing>
                                                    </DrawingGroup>
                                                    <DrawingGroup>
                                                        <DrawingGroup.Transform>
                                                            <MatrixTransform Matrix="1,0,-0.267949192431123,1,69.6269330410536,0"/>
                                                        </DrawingGroup.Transform>
                                                        <GeometryDrawing Geometry="M0.50000781,0.5L0.50000781,41.5">
                                                            <GeometryDrawing.Pen>
                                                                <Pen DashCap="Flat" EndLineCap="Flat" LineJoin="Miter" MiterLimit="10" StartLineCap="Flat" Thickness="1">
                                                                    <Pen.Brush>
                                                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                            <GradientStop Color="White" Offset="0"/>
                                                                            <GradientStop Offset="1"/>
                                                                        </LinearGradientBrush>
                                                                    </Pen.Brush>
                                                                </Pen>
                                                            </GeometryDrawing.Pen>
                                                        </GeometryDrawing>
                                                    </DrawingGroup>
                                                    <DrawingGroup>
                                                        <DrawingGroup.Transform>
                                                            <MatrixTransform Matrix="1,0,-0.267949192431123,1,73.6269330410536,0"/>
                                                        </DrawingGroup.Transform>
                                                        <GeometryDrawing Geometry="M0.50000781,0.5L0.50000781,41.5">
                                                            <GeometryDrawing.Pen>
                                                                <Pen DashCap="Flat" EndLineCap="Flat" LineJoin="Miter" MiterLimit="10" StartLineCap="Flat" Thickness="1">
                                                                    <Pen.Brush>
                                                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                            <GradientStop Color="White" Offset="0"/>
                                                                            <GradientStop Offset="1"/>
                                                                        </LinearGradientBrush>
                                                                    </Pen.Brush>
                                                                </Pen>
                                                            </GeometryDrawing.Pen>
                                                        </GeometryDrawing>
                                                    </DrawingGroup>
                                                    <DrawingGroup>
                                                        <DrawingGroup.Transform>
                                                            <MatrixTransform Matrix="1,0,-0.267949192431123,1,77.6269330410536,0"/>
                                                        </DrawingGroup.Transform>
                                                        <GeometryDrawing Geometry="M0.50000781,0.5L0.50000781,41.5">
                                                            <GeometryDrawing.Pen>
                                                                <Pen DashCap="Flat" EndLineCap="Flat" LineJoin="Miter" MiterLimit="10" StartLineCap="Flat" Thickness="1">
                                                                    <Pen.Brush>
                                                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                            <GradientStop Color="White" Offset="0"/>
                                                                            <GradientStop Offset="1"/>
                                                                        </LinearGradientBrush>
                                                                    </Pen.Brush>
                                                                </Pen>
                                                            </GeometryDrawing.Pen>
                                                        </GeometryDrawing>
                                                    </DrawingGroup>
                                                    <DrawingGroup>
                                                        <DrawingGroup.Transform>
                                                            <MatrixTransform Matrix="1,0,-0.267949192431123,1,81.6269330410536,0"/>
                                                        </DrawingGroup.Transform>
                                                        <GeometryDrawing Geometry="M0.50000781,0.5L0.50000781,41.5">
                                                            <GeometryDrawing.Pen>
                                                                <Pen DashCap="Flat" EndLineCap="Flat" LineJoin="Miter" MiterLimit="10" StartLineCap="Flat" Thickness="1">
                                                                    <Pen.Brush>
                                                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                            <GradientStop Color="White" Offset="0"/>
                                                                            <GradientStop Offset="1"/>
                                                                        </LinearGradientBrush>
                                                                    </Pen.Brush>
                                                                </Pen>
                                                            </GeometryDrawing.Pen>
                                                        </GeometryDrawing>
                                                    </DrawingGroup>
                                                    <DrawingGroup>
                                                        <DrawingGroup.Transform>
                                                            <MatrixTransform Matrix="1,0,-0.267949192431123,1,85.6269330410536,0"/>
                                                        </DrawingGroup.Transform>
                                                        <GeometryDrawing Geometry="M0.50000781,0.5L0.50000781,41.5">
                                                            <GeometryDrawing.Pen>
                                                                <Pen DashCap="Flat" EndLineCap="Flat" LineJoin="Miter" MiterLimit="10" StartLineCap="Flat" Thickness="1">
                                                                    <Pen.Brush>
                                                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                            <GradientStop Color="White" Offset="0"/>
                                                                            <GradientStop Offset="1"/>
                                                                        </LinearGradientBrush>
                                                                    </Pen.Brush>
                                                                </Pen>
                                                            </GeometryDrawing.Pen>
                                                        </GeometryDrawing>
                                                    </DrawingGroup>
                                                    <DrawingGroup>
                                                        <DrawingGroup.Transform>
                                                            <MatrixTransform Matrix="1,0,-0.267949192431123,1,89.6269330410536,0"/>
                                                        </DrawingGroup.Transform>
                                                        <GeometryDrawing Geometry="M0.50000781,0.5L0.50000781,41.5">
                                                            <GeometryDrawing.Pen>
                                                                <Pen DashCap="Flat" EndLineCap="Flat" LineJoin="Miter" MiterLimit="10" StartLineCap="Flat" Thickness="1">
                                                                    <Pen.Brush>
                                                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                            <GradientStop Color="White" Offset="0"/>
                                                                            <GradientStop Offset="1"/>
                                                                        </LinearGradientBrush>
                                                                    </Pen.Brush>
                                                                </Pen>
                                                            </GeometryDrawing.Pen>
                                                        </GeometryDrawing>
                                                    </DrawingGroup>
                                                    <DrawingGroup>
                                                        <DrawingGroup.Transform>
                                                            <MatrixTransform Matrix="1,0,-0.267949192431123,1,93.6269330410536,0"/>
                                                        </DrawingGroup.Transform>
                                                        <GeometryDrawing Geometry="M0.50000781,0.5L0.50000781,41.5">
                                                            <GeometryDrawing.Pen>
                                                                <Pen DashCap="Flat" EndLineCap="Flat" LineJoin="Miter" MiterLimit="10" StartLineCap="Flat" Thickness="1">
                                                                    <Pen.Brush>
                                                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                            <GradientStop Color="White" Offset="0"/>
                                                                            <GradientStop Offset="1"/>
                                                                        </LinearGradientBrush>
                                                                    </Pen.Brush>
                                                                </Pen>
                                                            </GeometryDrawing.Pen>
                                                        </GeometryDrawing>
                                                    </DrawingGroup>
                                                    <DrawingGroup>
                                                        <DrawingGroup.Transform>
                                                            <MatrixTransform Matrix="1,0,-0.267949192431123,1,97.6269330410536,0"/>
                                                        </DrawingGroup.Transform>
                                                        <GeometryDrawing Geometry="M0.50000781,0.5L0.50000781,41.5">
                                                            <GeometryDrawing.Pen>
                                                                <Pen DashCap="Flat" EndLineCap="Flat" LineJoin="Miter" MiterLimit="10" StartLineCap="Flat" Thickness="1">
                                                                    <Pen.Brush>
                                                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                            <GradientStop Color="White" Offset="0"/>
                                                                            <GradientStop Offset="1"/>
                                                                        </LinearGradientBrush>
                                                                    </Pen.Brush>
                                                                </Pen>
                                                            </GeometryDrawing.Pen>
                                                        </GeometryDrawing>
                                                    </DrawingGroup>
                                                    <DrawingGroup>
                                                        <DrawingGroup.Transform>
                                                            <MatrixTransform Matrix="1,0,-0.267949192431123,1,101.626933041054,0"/>
                                                        </DrawingGroup.Transform>
                                                        <GeometryDrawing Geometry="M0.50000781,0.5L0.50000781,41.5">
                                                            <GeometryDrawing.Pen>
                                                                <Pen DashCap="Flat" EndLineCap="Flat" LineJoin="Miter" MiterLimit="10" StartLineCap="Flat" Thickness="1">
                                                                    <Pen.Brush>
                                                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                            <GradientStop Color="White" Offset="0"/>
                                                                            <GradientStop Offset="1"/>
                                                                        </LinearGradientBrush>
                                                                    </Pen.Brush>
                                                                </Pen>
                                                            </GeometryDrawing.Pen>
                                                        </GeometryDrawing>
                                                    </DrawingGroup>
                                                    <DrawingGroup>
                                                        <DrawingGroup.Transform>
                                                            <MatrixTransform Matrix="1,0,-0.267949192431123,1,105.626933041054,0"/>
                                                        </DrawingGroup.Transform>
                                                        <GeometryDrawing Geometry="M0.50000781,0.5L0.50000781,41.5">
                                                            <GeometryDrawing.Pen>
                                                                <Pen DashCap="Flat" EndLineCap="Flat" LineJoin="Miter" MiterLimit="10" StartLineCap="Flat" Thickness="1">
                                                                    <Pen.Brush>
                                                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                            <GradientStop Color="White" Offset="0"/>
                                                                            <GradientStop Offset="1"/>
                                                                        </LinearGradientBrush>
                                                                    </Pen.Brush>
                                                                </Pen>
                                                            </GeometryDrawing.Pen>
                                                        </GeometryDrawing>
                                                    </DrawingGroup>
                                                    <DrawingGroup>
                                                        <DrawingGroup.Transform>
                                                            <MatrixTransform Matrix="1,0,-0.267949192431123,1,109.626933041054,0"/>
                                                        </DrawingGroup.Transform>
                                                        <GeometryDrawing Geometry="M0.50000781,0.5L0.50000781,41.5">
                                                            <GeometryDrawing.Pen>
                                                                <Pen DashCap="Flat" EndLineCap="Flat" LineJoin="Miter" MiterLimit="10" StartLineCap="Flat" Thickness="1">
                                                                    <Pen.Brush>
                                                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                            <GradientStop Color="White" Offset="0"/>
                                                                            <GradientStop Offset="1"/>
                                                                        </LinearGradientBrush>
                                                                    </Pen.Brush>
                                                                </Pen>
                                                            </GeometryDrawing.Pen>
                                                        </GeometryDrawing>
                                                    </DrawingGroup>
                                                    <DrawingGroup>
                                                        <DrawingGroup.Transform>
                                                            <MatrixTransform Matrix="1,0,-0.267949192431123,1,113.626933041054,0"/>
                                                        </DrawingGroup.Transform>
                                                        <GeometryDrawing Geometry="M0.50000781,0.5L0.50000781,41.5">
                                                            <GeometryDrawing.Pen>
                                                                <Pen DashCap="Flat" EndLineCap="Flat" LineJoin="Miter" MiterLimit="10" StartLineCap="Flat" Thickness="1">
                                                                    <Pen.Brush>
                                                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                            <GradientStop Color="White" Offset="0"/>
                                                                            <GradientStop Offset="1"/>
                                                                        </LinearGradientBrush>
                                                                    </Pen.Brush>
                                                                </Pen>
                                                            </GeometryDrawing.Pen>
                                                        </GeometryDrawing>
                                                    </DrawingGroup>
                                                    <DrawingGroup>
                                                        <DrawingGroup.Transform>
                                                            <MatrixTransform Matrix="1,0,-0.267949192431123,1,117.626933041054,0"/>
                                                        </DrawingGroup.Transform>
                                                        <GeometryDrawing Geometry="M0.50000781,0.5L0.50000781,41.5">
                                                            <GeometryDrawing.Pen>
                                                                <Pen DashCap="Flat" EndLineCap="Flat" LineJoin="Miter" MiterLimit="10" StartLineCap="Flat" Thickness="1">
                                                                    <Pen.Brush>
                                                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                            <GradientStop Color="White" Offset="0"/>
                                                                            <GradientStop Offset="1"/>
                                                                        </LinearGradientBrush>
                                                                    </Pen.Brush>
                                                                </Pen>
                                                            </GeometryDrawing.Pen>
                                                        </GeometryDrawing>
                                                    </DrawingGroup>
                                                    <DrawingGroup>
                                                        <DrawingGroup.Transform>
                                                            <MatrixTransform Matrix="1,0,-0.267949192431123,1,121.626933041054,0"/>
                                                        </DrawingGroup.Transform>
                                                        <GeometryDrawing Geometry="M0.50000781,0.5L0.50000781,41.5">
                                                            <GeometryDrawing.Pen>
                                                                <Pen DashCap="Flat" EndLineCap="Flat" LineJoin="Miter" MiterLimit="10" StartLineCap="Flat" Thickness="1">
                                                                    <Pen.Brush>
                                                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                            <GradientStop Color="White" Offset="0"/>
                                                                            <GradientStop Offset="1"/>
                                                                        </LinearGradientBrush>
                                                                    </Pen.Brush>
                                                                </Pen>
                                                            </GeometryDrawing.Pen>
                                                        </GeometryDrawing>
                                                    </DrawingGroup>
                                                    <DrawingGroup>
                                                        <DrawingGroup.Transform>
                                                            <MatrixTransform Matrix="1,0,-0.267949192431123,1,125.626933041054,0"/>
                                                        </DrawingGroup.Transform>
                                                        <GeometryDrawing Geometry="M0.50000781,0.5L0.50000781,41.5">
                                                            <GeometryDrawing.Pen>
                                                                <Pen DashCap="Flat" EndLineCap="Flat" LineJoin="Miter" MiterLimit="10" StartLineCap="Flat" Thickness="1">
                                                                    <Pen.Brush>
                                                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                            <GradientStop Color="White" Offset="0"/>
                                                                            <GradientStop Offset="1"/>
                                                                        </LinearGradientBrush>
                                                                    </Pen.Brush>
                                                                </Pen>
                                                            </GeometryDrawing.Pen>
                                                        </GeometryDrawing>
                                                    </DrawingGroup>
                                                    <DrawingGroup>
                                                        <DrawingGroup.Transform>
                                                            <MatrixTransform Matrix="1,0,-0.267949192431123,1,129.626933041054,0"/>
                                                        </DrawingGroup.Transform>
                                                        <GeometryDrawing Geometry="M0.50000781,0.5L0.50000781,41.5">
                                                            <GeometryDrawing.Pen>
                                                                <Pen DashCap="Flat" EndLineCap="Flat" LineJoin="Miter" MiterLimit="10" StartLineCap="Flat" Thickness="1">
                                                                    <Pen.Brush>
                                                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                            <GradientStop Color="White" Offset="0"/>
                                                                            <GradientStop Offset="1"/>
                                                                        </LinearGradientBrush>
                                                                    </Pen.Brush>
                                                                </Pen>
                                                            </GeometryDrawing.Pen>
                                                        </GeometryDrawing>
                                                    </DrawingGroup>
                                                    <DrawingGroup>
                                                        <DrawingGroup.Transform>
                                                            <MatrixTransform Matrix="1,0,-0.267949192431123,1,133.626933041054,0"/>
                                                        </DrawingGroup.Transform>
                                                        <GeometryDrawing Geometry="M0.50000781,0.5L0.50000781,41.5">
                                                            <GeometryDrawing.Pen>
                                                                <Pen DashCap="Flat" EndLineCap="Flat" LineJoin="Miter" MiterLimit="10" StartLineCap="Flat" Thickness="1">
                                                                    <Pen.Brush>
                                                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                            <GradientStop Color="White" Offset="0"/>
                                                                            <GradientStop Offset="1"/>
                                                                        </LinearGradientBrush>
                                                                    </Pen.Brush>
                                                                </Pen>
                                                            </GeometryDrawing.Pen>
                                                        </GeometryDrawing>
                                                    </DrawingGroup>
                                                    <DrawingGroup>
                                                        <DrawingGroup.Transform>
                                                            <MatrixTransform Matrix="1,0,-0.267949192431123,1,137.626933041054,0"/>
                                                        </DrawingGroup.Transform>
                                                        <GeometryDrawing Geometry="M0.50000781,0.5L0.50000781,41.5">
                                                            <GeometryDrawing.Pen>
                                                                <Pen DashCap="Flat" EndLineCap="Flat" LineJoin="Miter" MiterLimit="10" StartLineCap="Flat" Thickness="1">
                                                                    <Pen.Brush>
                                                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                            <GradientStop Color="White" Offset="0"/>
                                                                            <GradientStop Offset="1"/>
                                                                        </LinearGradientBrush>
                                                                    </Pen.Brush>
                                                                </Pen>
                                                            </GeometryDrawing.Pen>
                                                        </GeometryDrawing>
                                                    </DrawingGroup>
                                                    <DrawingGroup>
                                                        <DrawingGroup.Transform>
                                                            <MatrixTransform Matrix="1,0,-0.267949192431123,1,141.626933041054,0"/>
                                                        </DrawingGroup.Transform>
                                                        <GeometryDrawing Geometry="M0.50000781,0.5L0.50000781,41.5">
                                                            <GeometryDrawing.Pen>
                                                                <Pen DashCap="Flat" EndLineCap="Flat" LineJoin="Miter" MiterLimit="10" StartLineCap="Flat" Thickness="1">
                                                                    <Pen.Brush>
                                                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                            <GradientStop Color="White" Offset="0"/>
                                                                            <GradientStop Offset="1"/>
                                                                        </LinearGradientBrush>
                                                                    </Pen.Brush>
                                                                </Pen>
                                                            </GeometryDrawing.Pen>
                                                        </GeometryDrawing>
                                                    </DrawingGroup>
                                                    <DrawingGroup>
                                                        <DrawingGroup.Transform>
                                                            <MatrixTransform Matrix="1,0,-0.267949192431123,1,145.626933041054,0"/>
                                                        </DrawingGroup.Transform>
                                                        <GeometryDrawing Geometry="M0.50000781,0.5L0.50000781,41.5">
                                                            <GeometryDrawing.Pen>
                                                                <Pen DashCap="Flat" EndLineCap="Flat" LineJoin="Miter" MiterLimit="10" StartLineCap="Flat" Thickness="1">
                                                                    <Pen.Brush>
                                                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                            <GradientStop Color="White" Offset="0"/>
                                                                            <GradientStop Offset="1"/>
                                                                        </LinearGradientBrush>
                                                                    </Pen.Brush>
                                                                </Pen>
                                                            </GeometryDrawing.Pen>
                                                        </GeometryDrawing>
                                                    </DrawingGroup>
                                                    <DrawingGroup>
                                                        <DrawingGroup.Transform>
                                                            <MatrixTransform Matrix="1,0,-0.267949192431123,1,149.626933041054,0"/>
                                                        </DrawingGroup.Transform>
                                                        <GeometryDrawing Geometry="M0.50000781,0.5L0.50000781,41.5">
                                                            <GeometryDrawing.Pen>
                                                                <Pen DashCap="Flat" EndLineCap="Flat" LineJoin="Miter" MiterLimit="10" StartLineCap="Flat" Thickness="1">
                                                                    <Pen.Brush>
                                                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                            <GradientStop Color="White" Offset="0"/>
                                                                            <GradientStop Offset="1"/>
                                                                        </LinearGradientBrush>
                                                                    </Pen.Brush>
                                                                </Pen>
                                                            </GeometryDrawing.Pen>
                                                        </GeometryDrawing>
                                                    </DrawingGroup>
                                                    <DrawingGroup>
                                                        <DrawingGroup.Transform>
                                                            <MatrixTransform Matrix="1,0,-0.267949192431123,1,153.626933041054,0"/>
                                                        </DrawingGroup.Transform>
                                                        <GeometryDrawing Geometry="M0.50000781,0.5L0.50000781,41.5">
                                                            <GeometryDrawing.Pen>
                                                                <Pen DashCap="Flat" EndLineCap="Flat" LineJoin="Miter" MiterLimit="10" StartLineCap="Flat" Thickness="1">
                                                                    <Pen.Brush>
                                                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                            <GradientStop Color="White" Offset="0"/>
                                                                            <GradientStop Offset="1"/>
                                                                        </LinearGradientBrush>
                                                                    </Pen.Brush>
                                                                </Pen>
                                                            </GeometryDrawing.Pen>
                                                        </GeometryDrawing>
                                                    </DrawingGroup>
                                                    <DrawingGroup>
                                                        <DrawingGroup.Transform>
                                                            <MatrixTransform Matrix="1,0,-0.267949192431123,1,157.626933041054,0"/>
                                                        </DrawingGroup.Transform>
                                                        <GeometryDrawing Geometry="M0.50000781,0.5L0.50000781,41.5">
                                                            <GeometryDrawing.Pen>
                                                                <Pen DashCap="Flat" EndLineCap="Flat" LineJoin="Miter" MiterLimit="10" StartLineCap="Flat" Thickness="1">
                                                                    <Pen.Brush>
                                                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                            <GradientStop Color="White" Offset="0"/>
                                                                            <GradientStop Offset="1"/>
                                                                        </LinearGradientBrush>
                                                                    </Pen.Brush>
                                                                </Pen>
                                                            </GeometryDrawing.Pen>
                                                        </GeometryDrawing>
                                                    </DrawingGroup>
                                                    <DrawingGroup>
                                                        <DrawingGroup.Transform>
                                                            <MatrixTransform Matrix="1,0,-0.267949192431123,1,161.626933041054,0"/>
                                                        </DrawingGroup.Transform>
                                                        <GeometryDrawing Geometry="M0.50000781,0.5L0.50000781,41.5">
                                                            <GeometryDrawing.Pen>
                                                                <Pen DashCap="Flat" EndLineCap="Flat" LineJoin="Miter" MiterLimit="10" StartLineCap="Flat" Thickness="1">
                                                                    <Pen.Brush>
                                                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                            <GradientStop Color="White" Offset="0"/>
                                                                            <GradientStop Offset="1"/>
                                                                        </LinearGradientBrush>
                                                                    </Pen.Brush>
                                                                </Pen>
                                                            </GeometryDrawing.Pen>
                                                        </GeometryDrawing>
                                                    </DrawingGroup>
                                                    <DrawingGroup>
                                                        <DrawingGroup.Transform>
                                                            <MatrixTransform Matrix="1,0,-0.267949192431123,1,165.626933041054,0"/>
                                                        </DrawingGroup.Transform>
                                                        <GeometryDrawing Geometry="M0.50000781,0.5L0.50000781,41.5">
                                                            <GeometryDrawing.Pen>
                                                                <Pen DashCap="Flat" EndLineCap="Flat" LineJoin="Miter" MiterLimit="10" StartLineCap="Flat" Thickness="1">
                                                                    <Pen.Brush>
                                                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                            <GradientStop Color="White" Offset="0"/>
                                                                            <GradientStop Offset="1"/>
                                                                        </LinearGradientBrush>
                                                                    </Pen.Brush>
                                                                </Pen>
                                                            </GeometryDrawing.Pen>
                                                        </GeometryDrawing>
                                                    </DrawingGroup>
                                                    <DrawingGroup>
                                                        <DrawingGroup.Transform>
                                                            <MatrixTransform Matrix="1,0,-0.267949192431123,1,169.626933041054,0"/>
                                                        </DrawingGroup.Transform>
                                                        <GeometryDrawing Geometry="M0.50000781,0.5L0.50000781,41.5">
                                                            <GeometryDrawing.Pen>
                                                                <Pen DashCap="Flat" EndLineCap="Flat" LineJoin="Miter" MiterLimit="10" StartLineCap="Flat" Thickness="1">
                                                                    <Pen.Brush>
                                                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                            <GradientStop Color="White" Offset="0"/>
                                                                            <GradientStop Offset="1"/>
                                                                        </LinearGradientBrush>
                                                                    </Pen.Brush>
                                                                </Pen>
                                                            </GeometryDrawing.Pen>
                                                        </GeometryDrawing>
                                                    </DrawingGroup>
                                                </DrawingGroup>
                                            </DrawingBrush.Drawing>
                                            <DrawingBrush.RelativeTransform>
                                                <TransformGroup>
                                                    <ScaleTransform CenterX="0.5" CenterY="0.5" ScaleX="0.531" ScaleY="1"/>
                                                    <SkewTransform AngleX="0" AngleY="0" CenterX="0.5" CenterY="0.5"/>
                                                    <RotateTransform Angle="0" CenterX="0.5" CenterY="0.5"/>
                                                    <TranslateTransform X="-0.235"/>
                                                </TransformGroup>
                                            </DrawingBrush.RelativeTransform>
                                        </DrawingBrush>
                                    </Rectangle.Fill>
                                    <Rectangle.RenderTransform>
                                        <TransformGroup>
                                            <ScaleTransform ScaleX="-1" ScaleY="-1"/>
                                            <SkewTransform AngleX="0" AngleY="0"/>
                                            <RotateTransform Angle="0"/>
                                            <TranslateTransform/>
                                        </TransformGroup>
                                    </Rectangle.RenderTransform>
                                </Rectangle>
                                <ContentPresenter x:Name="PART_SelectedContentHost" Margin="0" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" ContentSource="SelectedContent"/>
                            </Grid>
                        </Border>
                    </Grid>
                    <ControlTemplate.Triggers>
                        <Trigger Property="TabStripPlacement" Value="Bottom">
                            <Setter Property="Grid.Row" TargetName="HeaderPanel" Value="1"/>
                            <Setter Property="Grid.Row" TargetName="ContentPanel" Value="0"/>
                            <Setter Property="Height" TargetName="RowDefinition0" Value="*"/>
                            <Setter Property="Height" TargetName="RowDefinition1" Value="Auto"/>
                            <Setter Property="Margin" TargetName="HeaderPanel" Value="2,0,2,2"/>
                        </Trigger>
                        <Trigger Property="TabStripPlacement" Value="Left">
                            <Setter Property="Grid.Row" TargetName="HeaderPanel" Value="0"/>
                            <Setter Property="Grid.Row" TargetName="ContentPanel" Value="0"/>
                            <Setter Property="Grid.Column" TargetName="HeaderPanel" Value="0"/>
                            <Setter Property="Grid.Column" TargetName="ContentPanel" Value="1"/>
                            <Setter Property="Width" TargetName="ColumnDefinition0" Value="Auto"/>
                            <Setter Property="Width" TargetName="ColumnDefinition1" Value="*"/>
                            <Setter Property="Height" TargetName="RowDefinition0" Value="*"/>
                            <Setter Property="Height" TargetName="RowDefinition1" Value="0"/>
                            <Setter Property="Margin" TargetName="HeaderPanel" Value="2,2,0,2"/>
                        </Trigger>
                        <Trigger Property="TabStripPlacement" Value="Right">
                            <Setter Property="Grid.Row" TargetName="HeaderPanel" Value="0"/>
                            <Setter Property="Grid.Row" TargetName="ContentPanel" Value="0"/>
                            <Setter Property="Grid.Column" TargetName="HeaderPanel" Value="1"/>
                            <Setter Property="Grid.Column" TargetName="ContentPanel" Value="0"/>
                            <Setter Property="Width" TargetName="ColumnDefinition0" Value="*"/>
                            <Setter Property="Width" TargetName="ColumnDefinition1" Value="Auto"/>
                            <Setter Property="Height" TargetName="RowDefinition0" Value="*"/>
                            <Setter Property="Height" TargetName="RowDefinition1" Value="0"/>
                            <Setter Property="Margin" TargetName="HeaderPanel" Value="0,2,2,2"/>
                        </Trigger>
                        <Trigger Property="IsEnabled" Value="false">
                            <Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.GrayTextBrushKey}}"/>
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="ListBoxItem_Theme" TargetType="{x:Type ListBoxItem}">
        <Setter Property="Padding" Value="2,0,0,0"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type ListBoxItem}">
                    <Border x:Name="Bd" SnapsToDevicePixels="true" Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Padding="{TemplateBinding Padding}">
                        <ContentPresenter HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"/>
                    </Border>
                    <ControlTemplate.Triggers>
                        <Trigger Property="IsSelected" Value="true">
                            <Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.HighlightTextBrushKey}}"/>
                            <Setter Property="Background" TargetName="Bd">
                                <Setter.Value>
                                    <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                        <GradientStop Color="#FFD2AF36" Offset="0"/>
                                        <GradientStop Color="#FFBF960A" Offset="1"/>
                                    </LinearGradientBrush>
                                </Setter.Value>
                            </Setter>
                        </Trigger>
                        <MultiTrigger>
                            <MultiTrigger.Conditions>
                                <Condition Property="IsSelected" Value="true"/>
                                <Condition Property="Selector.IsSelectionActive" Value="false"/>
                            </MultiTrigger.Conditions>
                            <Setter Property="Background" TargetName="Bd" Value="{DynamicResource {x:Static SystemColors.ControlBrushKey}}"/>
                            <Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.ControlTextBrushKey}}"/>
                        </MultiTrigger>
                        <Trigger Property="IsEnabled" Value="false">
                            <Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.GrayTextBrushKey}}"/>
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="VerticalScrollBarPageButton" TargetType="{x:Type RepeatButton}">
        <Setter Property="OverridesDefaultStyle" Value="true"/>
        <Setter Property="Background" Value="Transparent"/>
        <Setter Property="Focusable" Value="false"/>
        <Setter Property="IsTabStop" Value="false"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type RepeatButton}">
                    <Rectangle Fill="{TemplateBinding Background}" Width="{TemplateBinding Width}" Height="{TemplateBinding Height}"/>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="HorizontalScrollBarPageButton" TargetType="{x:Type RepeatButton}">
        <Setter Property="OverridesDefaultStyle" Value="true"/>
        <Setter Property="Background" Value="Transparent"/>
        <Setter Property="Focusable" Value="false"/>
        <Setter Property="IsTabStop" Value="false"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type RepeatButton}">
                    <Rectangle Fill="{TemplateBinding Background}" Width="{TemplateBinding Width}" Height="{TemplateBinding Height}"/>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="ScrollBarThumb_Vertical" TargetType="{x:Type Thumb}">
        <Setter Property="OverridesDefaultStyle" Value="true"/>
        <Setter Property="IsTabStop" Value="false"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type Thumb}">
                    <Rectangle x:Name="rectangle" RadiusX="1" RadiusY="1" Margin="3,0">
                        <Rectangle.Stroke>
                            <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                <GradientStop Color="White" Offset="0"/>
                                <GradientStop Color="#FFFFFF89" Offset="0.3"/>
                                <GradientStop Color="White" Offset="0.69"/>
                            </LinearGradientBrush>
                        </Rectangle.Stroke>
                        <Rectangle.Fill>
                            <LinearGradientBrush EndPoint="0.336,0.559" StartPoint="-1.036,0.441">
                                <GradientStop Color="White" Offset="0.281"/>
                                <GradientStop Color="#FFCECECE" Offset="0.284"/>
                            </LinearGradientBrush>
                        </Rectangle.Fill>
                    </Rectangle>
                    <ControlTemplate.Triggers>
                        <Trigger Property="IsDragging" Value="True">
                            <Setter Property="Fill" TargetName="rectangle">
                                <Setter.Value>
                                    <LinearGradientBrush EndPoint="0.336,0.559" StartPoint="-1.036,0.441">
                                        <GradientStop Color="White" Offset="0.281"/>
                                        <GradientStop Color="#FFECE548" Offset="0.284"/>
                                    </LinearGradientBrush>
                                </Setter.Value>
                            </Setter>
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="ScrollBarThumb_Horizontal" TargetType="{x:Type Thumb}">
        <Setter Property="OverridesDefaultStyle" Value="true"/>
        <Setter Property="IsTabStop" Value="false"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type Thumb}">
                    <Rectangle x:Name="rectangle" Margin="3,0" RadiusX="1" RadiusY="1">
                        <Rectangle.Stroke>
                            <LinearGradientBrush EndPoint="0.984,0.537" StartPoint="0.066,0.466">
                                <GradientStop Color="White" Offset="0"/>
                                <GradientStop Color="#FFFFFF89" Offset="0.332"/>
                                <GradientStop Color="White" Offset="0.664"/>
                            </LinearGradientBrush>
                        </Rectangle.Stroke>
                        <Rectangle.Fill>
                            <LinearGradientBrush EndPoint="0.954,3.511" StartPoint="0.146,-2.511">
                                <GradientStop Color="White" Offset="0.336"/>
                                <GradientStop Color="#FFCECECE" Offset="0.338"/>
                            </LinearGradientBrush>
                        </Rectangle.Fill>
                    </Rectangle>
                    <ControlTemplate.Triggers>
                        <Trigger Property="IsDragging" Value="True">
                            <Setter Property="Fill" TargetName="rectangle">
                                <Setter.Value>
                                    <LinearGradientBrush EndPoint="0.954,3.511" StartPoint="0.146,-2.511">
                                        <GradientStop Color="White" Offset="0.336"/>
                                        <GradientStop Color="#FFECE548" Offset="0.338"/>
                                    </LinearGradientBrush>
                                </Setter.Value>
                            </Setter>
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="ScrollBar_Theme" TargetType="{x:Type ScrollBar}">
        <Setter Property="Stylus.IsPressAndHoldEnabled" Value="false"/>
        <Setter Property="Stylus.IsFlicksEnabled" Value="false"/>
        <Setter Property="Width" Value="{DynamicResource {x:Static SystemParameters.VerticalScrollBarWidthKey}}"/>
        <Setter Property="MinWidth" Value="{DynamicResource {x:Static SystemParameters.VerticalScrollBarWidthKey}}"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type ScrollBar}">
                    <Grid x:Name="Bg" SnapsToDevicePixels="true" Width="Auto" Margin="5,0,0,0">
                        <Grid.Background>
                            <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                <GradientStop Color="#00000000" Offset="0"/>
                                <GradientStop Color="#4CFFFFFF" Offset="0.516"/>
                                <GradientStop Color="#00000000" Offset="1"/>
                            </LinearGradientBrush>
                        </Grid.Background>
                        <Grid.RowDefinitions>
                            <RowDefinition MaxHeight="{DynamicResource {x:Static SystemParameters.VerticalScrollBarButtonHeightKey}}" Height="1"/>
                            <RowDefinition Height="*"/>
                            <RowDefinition MaxHeight="{DynamicResource {x:Static SystemParameters.VerticalScrollBarButtonHeightKey}}" Height="1"/>
                        </Grid.RowDefinitions>
                        <Track x:Name="PART_Track" IsEnabled="{TemplateBinding IsMouseOver}" Grid.Row="1" IsDirectionReversed="true">
                            <Track.Thumb>
                                <Thumb Style="{StaticResource ScrollBarThumb_Vertical}" Microsoft_Windows_Themes:ScrollChrome.ScrollGlyph="VerticalGripper"/>
                            </Track.Thumb>
                            <Track.IncreaseRepeatButton>
                                <RepeatButton Style="{StaticResource VerticalScrollBarPageButton}" Command="{x:Static ScrollBar.PageDownCommand}"/>
                            </Track.IncreaseRepeatButton>
                            <Track.DecreaseRepeatButton>
                                <RepeatButton Style="{StaticResource VerticalScrollBarPageButton}" Command="{x:Static ScrollBar.PageUpCommand}"/>
                            </Track.DecreaseRepeatButton>
                        </Track>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
        <Style.Triggers>
            <Trigger Property="Orientation" Value="Horizontal">
                <Setter Property="Width" Value="Auto"/>
                <Setter Property="MinWidth" Value="0"/>
                <Setter Property="Height" Value="{DynamicResource {x:Static SystemParameters.HorizontalScrollBarHeightKey}}"/>
                <Setter Property="MinHeight" Value="{DynamicResource {x:Static SystemParameters.HorizontalScrollBarHeightKey}}"/>
                <Setter Property="Template">
                    <Setter.Value>
                        <ControlTemplate TargetType="{x:Type ScrollBar}">
                            <Grid x:Name="Bg" SnapsToDevicePixels="true" Background="{TemplateBinding Background}" Margin="0,5,0,0">
                                <Grid.ColumnDefinitions>
                                    <ColumnDefinition MaxWidth="{DynamicResource {x:Static SystemParameters.HorizontalScrollBarButtonWidthKey}}" Width="1"/>
                                    <ColumnDefinition Width="*"/>
                                    <ColumnDefinition MaxWidth="{DynamicResource {x:Static SystemParameters.HorizontalScrollBarButtonWidthKey}}" Width="1"/>
                                </Grid.ColumnDefinitions>
                                <Track x:Name="PART_Track" IsEnabled="{TemplateBinding IsMouseOver}" Grid.Column="1">
                                    <Track.DecreaseRepeatButton>
                                        <RepeatButton Style="{StaticResource HorizontalScrollBarPageButton}" Command="{x:Static ScrollBar.PageLeftCommand}"/>
                                    </Track.DecreaseRepeatButton>
                                    <Track.IncreaseRepeatButton>
                                        <RepeatButton Style="{StaticResource HorizontalScrollBarPageButton}" Command="{x:Static ScrollBar.PageRightCommand}"/>
                                    </Track.IncreaseRepeatButton>
                                    <Track.Thumb>
                                        <Thumb Style="{DynamicResource ScrollBarThumb_Horizontal}" Microsoft_Windows_Themes:ScrollChrome.ScrollGlyph="HorizontalGripper" Margin="0,3"/>
                                    </Track.Thumb>
                                </Track>
                            </Grid>
                        </ControlTemplate>
                    </Setter.Value>
                </Setter>
            </Trigger>
        </Style.Triggers>
    </Style>
    <Style x:Key="ListBox_Theme" TargetType="{x:Type ListBox}">
        <Setter Property="Background" Value="{DynamicResource {x:Static SystemColors.WindowBrushKey}}"/>
        <Setter Property="BorderThickness" Value="1"/>
        <Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.ControlTextBrushKey}}"/>
        <Setter Property="ScrollViewer.HorizontalScrollBarVisibility" Value="Auto"/>
        <Setter Property="ScrollViewer.VerticalScrollBarVisibility" Value="Auto"/>
        <Setter Property="ScrollViewer.CanContentScroll" Value="true"/>
        <Setter Property="VerticalContentAlignment" Value="Center"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type ListBox}">
                    <Border x:Name="Bd" SnapsToDevicePixels="true" Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Padding="1">
                        <ScrollViewer Padding="{TemplateBinding Padding}" Focusable="false" Template="{DynamicResource ScrollViewerControl_Theme}" HorizontalScrollBarVisibility="Auto">
                            <ContentPresenter HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
                                              VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
                                              SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"
                                              />
                        </ScrollViewer>
                    </Border>
                    <ControlTemplate.Triggers>
                        <Trigger Property="IsEnabled" Value="false">
                            <Setter Property="Background" TargetName="Bd" Value="{DynamicResource {x:Static SystemColors.ControlBrushKey}}"/>
                        </Trigger>
                        <Trigger Property="IsGrouping" Value="true">
                            <Setter Property="ScrollViewer.CanContentScroll" Value="false"/>
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <ControlTemplate x:Key="ScrollViewerControl_Theme" TargetType="{x:Type ScrollViewer}">
        <Grid x:Name="Grid" Background="{TemplateBinding Background}">
            <Grid.ColumnDefinitions>
                <ColumnDefinition/>
                <ColumnDefinition Width="Auto"/>
            </Grid.ColumnDefinitions>
            <Grid.RowDefinitions>
                <RowDefinition/>
                <RowDefinition Height="Auto"/>
            </Grid.RowDefinitions>
            <ScrollContentPresenter x:Name="PART_ScrollContentPresenter" Margin="{TemplateBinding Padding}" Content="{TemplateBinding Content}" ContentTemplate="{TemplateBinding ContentTemplate}" Grid.Column="0" Grid.Row="0" CanContentScroll="{TemplateBinding CanContentScroll}" CanHorizontallyScroll="False" CanVerticallyScroll="False"/>
            <ScrollBar x:Name="PART_VerticalScrollBar" Cursor="Arrow" Visibility="{TemplateBinding ComputedVerticalScrollBarVisibility}" Grid.Column="1" Grid.Row="0" ViewportSize="{TemplateBinding ViewportHeight}" Maximum="{TemplateBinding ScrollableHeight}" Minimum="0" Value="{Binding VerticalOffset, Mode=OneWay, RelativeSource={RelativeSource TemplatedParent}}" AutomationProperties.AutomationId="VerticalScrollBar" Style="{DynamicResource ScrollBar_Theme}" Width="Auto" Grid.RowSpan="3"/>
            <ScrollBar x:Name="PART_HorizontalScrollBar" Cursor="Arrow" Visibility="{TemplateBinding ComputedHorizontalScrollBarVisibility}" Grid.Column="0" Grid.Row="1" Orientation="Horizontal" ViewportSize="{TemplateBinding ViewportWidth}" Maximum="{TemplateBinding ScrollableWidth}" Minimum="0" Value="{Binding HorizontalOffset, Mode=OneWay, RelativeSource={RelativeSource TemplatedParent}}" AutomationProperties.AutomationId="HorizontalScrollBar" Style="{DynamicResource ScrollBar_Theme}" Grid.ColumnSpan="3" Height="Auto">
                <ScrollBar.Background>
                    <LinearGradientBrush EndPoint="0.967,0.5" StartPoint="0.066,0.5">
                        <GradientStop Color="#00000000" Offset="0"/>
                        <GradientStop Color="#00000000" Offset="1"/>
                        <GradientStop Color="#33FFFFFF" Offset="0.476"/>
                    </LinearGradientBrush>
                </ScrollBar.Background>
            </ScrollBar>
        </Grid>
    </ControlTemplate>
</ResourceDictionary>